summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-07-11 17:28:19 +0000
committerfrosch <frosch@openttd.org>2010-07-11 17:28:19 +0000
commit72ee11a7c63211a3ffe34c834d7ca579d83af1f4 (patch)
tree6e2d252279d5c894d96fdde8c89d4af7186d4b68 /src/newgrf_commons.h
parent19fb8ba6f88d2f684546e93388418f3757d80612 (diff)
downloadopenttd-72ee11a7c63211a3ffe34c834d7ca579d83af1f4.tar.xz
(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r--src/newgrf_commons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h
index d5b9d9901..a30390603 100644
--- a/src/newgrf_commons.h
+++ b/src/newgrf_commons.h
@@ -123,7 +123,7 @@ extern IndustryTileOverrideManager _industile_mngr;
extern AirportOverrideManager _airport_mngr;
extern AirportTileOverrideManager _airporttile_mngr;
-uint32 GetTerrainType(TileIndex tile);
+uint32 GetTerrainType(TileIndex tile, bool upper_halftile = false);
TileIndex GetNearbyTile(byte parameter, TileIndex tile);
uint32 GetNearbyTileInformation(TileIndex tile);