Merge remote-tracking branch 'scrawl/cs_waterlevel'

move
Marc Zinnschlag 9 years ago
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…
Cancel
Save