diff options
author | tron <tron@openttd.org> | 2005-06-25 06:15:43 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-25 06:15:43 +0000 |
commit | 61f6f07edd837728d72e83daa0a4b8893ec77307 (patch) | |
tree | 3374c2cd95704c5e34c2a7c62b0ba647c4002e7f /window.c | |
parent | cea090af09fbee47ef4eea01190ba8eb8e17aef8 (diff) | |
download | openttd-61f6f07edd837728d72e83daa0a4b8893ec77307.tar.xz |
(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -767,7 +767,7 @@ static void HandlePlacePresize(void) _thd.selend.x = -1; return; } - e.place.tile = TILE_FROM_XY(e.place.pt.x, e.place.pt.y); + e.place.tile = TileVirtXY(e.place.pt.x, e.place.pt.y); e.event = WE_PLACE_PRESIZE; w->wndproc(w, &e); } |