diff options
author | tron <tron@openttd.org> | 2005-10-19 14:49:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-19 14:49:46 +0000 |
commit | 71d293f2a3a469b82804049d8e5325d82681d2f8 (patch) | |
tree | ec3c494c40b7ce63f77525976e380da0b0985543 /rail_cmd.c | |
parent | ab049c7bca352a62a9668fdeb6c197c39ad84dd9 (diff) | |
download | openttd-71d293f2a3a469b82804049d8e5325d82681d2f8.tar.xz |
(svn r3066) Constify the parameter of GetSlopeZ_*()
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
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; |