summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-06-25 06:15:43 +0000
committertron <tron@openttd.org>2005-06-25 06:15:43 +0000
commit61f6f07edd837728d72e83daa0a4b8893ec77307 (patch)
tree3374c2cd95704c5e34c2a7c62b0ba647c4002e7f /ship_cmd.c
parentcea090af09fbee47ef4eea01190ba8eb8e17aef8 (diff)
downloadopenttd-61f6f07edd837728d72e83daa0a4b8893ec77307.tar.xz
(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 2f173b9c4..5db2b2b63 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -866,7 +866,7 @@ int32 CmdBuildShip(int x, int y, uint32 flags, uint32 p1, uint32 p2)
int32 value;
Vehicle *v;
UnitID unit_num;
- TileIndex tile = TILE_FROM_XY(x,y);
+ TileIndex tile = TileVirtXY(x, y);
Engine *e;
if (!IsEngineBuildable(p1, VEH_Ship)) return CMD_ERROR;