diff --git a/TileEngine/environment.cpp b/TileEngine/environment.cpp index 930afb30..0d282dd9 100644 --- a/TileEngine/environment.cpp +++ b/TileEngine/environment.cpp @@ -913,6 +913,10 @@ void ChangeWeather( UINT8 aSector, UINT8 aType ) UINT8 GetWeatherInCurrentSector() { + // no weather underground! + if ( gbWorldSectorZ ) + return WEATHER_FORECAST_NORMAL; + return SectorInfo[SECTOR( gWorldSectorX, gWorldSectorY )].usWeather; }