1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 15:39:09 +00:00

(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns

This commit is contained in:
tron
2005-01-16 14:06:22 +00:00
parent b119b6c474
commit ef923fae44
6 changed files with 12 additions and 12 deletions

View File

@@ -164,7 +164,7 @@ int32 CmdRemoveRoad(int x, int y, uint32 flags, uint32 p1, uint32 p2)
}
if (ti.type == MP_TUNNELBRIDGE) {
if (!EnsureNoVehicleZ(tile, TileHeight(tile)))
if (!EnsureNoVehicleZ(tile, TilePixelHeight(tile)))
return CMD_ERROR;
if ((ti.map5 & 0xE9) == 0xE8) {