forked from mirror/OpenTTD
(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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user