mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Merge remote-tracking branch 'scrawl/cs_waterlevel'
This commit is contained in:
commit
5c587fe93e
1 changed files with 2 additions and 2 deletions
|
@ -915,7 +915,7 @@ namespace CSMWorld
|
||||||
cell.mAmbi.mFogDensity : QVariant(QVariant::UserType);
|
cell.mAmbi.mFogDensity : QVariant(QVariant::UserType);
|
||||||
case 5:
|
case 5:
|
||||||
{
|
{
|
||||||
if (isInterior && !behaveLikeExterior && interiorWater)
|
if (isInterior && interiorWater)
|
||||||
return cell.mWater;
|
return cell.mWater;
|
||||||
else
|
else
|
||||||
return QVariant(QVariant::UserType);
|
return QVariant(QVariant::UserType);
|
||||||
|
@ -981,7 +981,7 @@ namespace CSMWorld
|
||||||
}
|
}
|
||||||
case 5:
|
case 5:
|
||||||
{
|
{
|
||||||
if (isInterior && !behaveLikeExterior && interiorWater)
|
if (isInterior && interiorWater)
|
||||||
cell.mWater = value.toFloat();
|
cell.mWater = value.toFloat();
|
||||||
else
|
else
|
||||||
return; // return without saving
|
return; // return without saving
|
||||||
|
|
Loading…
Reference in a new issue