forked from mirror/OpenTTD
(svn r3066) Constify the parameter of GetSlopeZ_*()
This commit is contained in:
@@ -14,8 +14,9 @@ static void DrawTile_Dummy(TileInfo *ti)
|
||||
}
|
||||
|
||||
|
||||
static uint GetSlopeZ_Dummy(TileInfo *ti) {
|
||||
return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z;
|
||||
static uint GetSlopeZ_Dummy(const TileInfo* ti)
|
||||
{
|
||||
return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z;
|
||||
}
|
||||
|
||||
static uint GetSlopeTileh_Dummy(const TileInfo *ti) {
|
||||
|
Reference in New Issue
Block a user