mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 00:32:49 +00:00
Merge remote-tracking branch 'scrawl/cs_waterlevel'
This commit is contained in:
commit
5c587fe93e
@ -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…
x
Reference in New Issue
Block a user