1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 07:15:36 +00:00

Use getSubComposite to read AMBI

This commit is contained in:
Evil Eye 2024-03-14 17:08:23 +01:00
parent 1499dd2654
commit b52f721318

View file

@ -158,7 +158,7 @@ namespace ESM
mWater = waterLevel;
break;
case fourCC("AMBI"):
esm.getHT(mAmbi.mAmbient, mAmbi.mSunlight, mAmbi.mFog, mAmbi.mFogDensity);
esm.getSubComposite(mAmbi);
mHasAmbi = true;
break;
case fourCC("RGNN"):