(svn r12098) -Fix: make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile

This commit is contained in:
smatz
2008-02-10 11:35:05 +00:00
parent efe831934a
commit 9deab65bae
2 changed files with 56 additions and 4 deletions

View File

@@ -409,6 +409,7 @@ enum RailGroundType {
RAIL_GROUND_FENCE_HORIZ2 = 11, ///< Grass with a fence at the northern side
RAIL_GROUND_ICE_DESERT = 12, ///< Icy or sandy
RAIL_GROUND_WATER = 13, ///< Grass with a fence and shore or water on the free halftile
RAIL_GROUND_HALF_SNOW = 14, ///< Snow only on higher part of slope (steep or one corner raised)
};
static inline void SetRailGroundType(TileIndex t, RailGroundType rgt)