mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 05:29:11 +00:00
(svn r3066) Constify the parameter of GetSlopeZ_*()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user