Fix GetAreaFog

This commit is contained in:
Phillip Stephens 2019-08-14 12:56:46 -07:00
parent ea12a54a41
commit fa7785d024
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ public:
CAssetId GetAreaAssetId() const { return x84_mrea; }
const CAreaFog* GetAreaFog() const { return GetPostConstructed()->x10c4_areaFog.get(); }
CAreaFog* GetAreaFog() { return const_cast<CAreaFog*>(GetAreaFog()); }
CAreaFog* GetAreaFog() { return GetPostConstructed()->x10c4_areaFog.get(); }
float GetXRayFogDistance() const;
EEnvFxType DoesAreaNeedEnvFx() const;
bool DoesAreaNeedSkyNow() const;