From 69e1c716e86a855b4379504bbb94a5483a63f43e Mon Sep 17 00:00:00 2001 From: celestar Date: Mon, 3 Apr 2006 09:07:21 +0000 Subject: (svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 2c554d507..3e9fbd908 100644 --- a/main_gui.c +++ b/main_gui.c @@ -372,7 +372,7 @@ void ShowRenameWaypointWindow(const Waypoint *wp) /* Are we allowed to change the name of the waypoint? */ if (!CheckTileOwnership(wp->xy)) { ShowErrorMessage(_error_message, STR_CANT_CHANGE_WAYPOINT_NAME, - TileX(wp->xy) * 16, TileY(wp->xy) * 16); + TileX(wp->xy) * TILE_SIZE, TileY(wp->xy) * TILE_SIZE); return; } -- cgit v1.2.3-54-g00ecf