summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-19 14:49:46 +0000
committertron <tron@openttd.org>2005-10-19 14:49:46 +0000
commitece9b9b2b6a2feb43c9215c3073e2c09f9f72ae9 (patch)
treeec3c494c40b7ce63f77525976e380da0b0985543 /station_cmd.c
parent5f604ec63a2a603d8c008210ac69760a5f552826 (diff)
downloadopenttd-ece9b9b2b6a2feb43c9215c3073e2c09f9f72ae9.tar.xz
(svn r3066) Constify the parameter of GetSlopeZ_*()
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 66698a073..e73abce06 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2225,7 +2225,7 @@ void StationPickerDrawSprite(int x, int y, RailType railtype, int image)
}
}
-static uint GetSlopeZ_Station(TileInfo *ti)
+static uint GetSlopeZ_Station(const TileInfo* ti)
{
uint z = ti->z;
if (ti->tileh != 0)