summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
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;
}