summaryrefslogtreecommitdiff
path: root/rail_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'rail_cmd.c')
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index e185d8529..47f70c66f 100644
--- a/rail_cmd.c
+++ b/rail_cmd.c
@@ -1934,7 +1934,7 @@ void SetSignalsOnBothDir(TileIndex tile, byte track)
UpdateSignalsOnSegment(tile, _search_dir_2[track]);
}
-static uint GetSlopeZ_Track(TileInfo *ti)
+static uint GetSlopeZ_Track(const TileInfo* ti)
{
uint z = ti->z;
int th = ti->tileh;