From 20a3b3796321a3b18a2cf6a270e63310ee185f51 Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 8 Sep 2007 00:37:37 +0000 Subject: (svn r11058) -Fix[FS#1216]: GetTerrainType was a bit too relax with snow line. After double checking with ttdpatch, behaviour is now more alike (Eddi) --- src/newgrf_commons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/newgrf_commons.cpp b/src/newgrf_commons.cpp index 5d6aa6630..6ffd879e0 100644 --- a/src/newgrf_commons.cpp +++ b/src/newgrf_commons.cpp @@ -252,7 +252,7 @@ uint32 GetTerrainType(TileIndex tile) { switch (_opt.landscape) { case LT_TROPIC: return GetTropicZone(tile) == TROPICZONE_DESERT ? 1 : 2; - case LT_ARCTIC: return GetTileZ(tile) >= GetSnowLine() ? 4 : 0; + case LT_ARCTIC: return GetTileZ(tile) > GetSnowLine() ? 4 : 0; default: return 0; } } -- cgit v1.2.3-70-g09d2