diff options
author | tron <tron@openttd.org> | 2005-01-16 14:06:22 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-16 14:06:22 +0000 |
commit | ef923fae44f785ef0446174de3eb78dbbf333019 (patch) | |
tree | 672638fb04fd17fbc001dde38aff57143c889325 /road_cmd.c | |
parent | b119b6c474268d0bad926fb10f0ac7f2857f5a09 (diff) | |
download | openttd-ef923fae44f785ef0446174de3eb78dbbf333019.tar.xz |
(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c index b78a832ab..8d6afb4bc 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -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) { |