summaryrefslogtreecommitdiff
path: root/town_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
commit2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc (patch)
tree3374c2cd95704c5e34c2a7c62b0ba647c4002e7f /town_cmd.c
parent80760b4f69bc4f552ff22593d19365662e62caf3 (diff)
downloadopenttd-2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc.tar.xz
(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index 1ca61d6c6..2f30999d3 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -1023,7 +1023,7 @@ static Town *AllocateTown(void)
*/
int32 CmdBuildTown(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{
- TileIndex tile = TILE_FROM_XY(x,y);
+ TileIndex tile = TileVirtXY(x, y);
TileInfo ti;
Town *t;
uint32 townnameparts;