changeset 10775 | 7061477bfbcf |
parent 10707 | 81a4013a7680 |
--- a/src/newgrf_commons.cpp Thu May 29 11:47:56 2008 +0000 +++ b/src/newgrf_commons.cpp Thu May 29 15:13:28 2008 +0000 @@ -278,7 +278,7 @@ * Terrain type: 0 normal, 1 desert, 2 rainforest, 4 on or above snowline */ uint32 GetTerrainType(TileIndex tile) { - switch (_settings.game_creation.landscape) { + switch (_settings_game.game_creation.landscape) { case LT_TROPIC: return GetTropicZone(tile); case LT_ARCTIC: return GetTileZ(tile) > GetSnowLine() ? 4 : 0; default: return 0;