(svn r14143) -Codechange: Recenter viewport of waypoint window when relocating the waypoint.

This commit is contained in:
frosch
2008-08-23 16:34:05 +00:00
parent bb85d482d8
commit 6b9b879a2c
2 changed files with 8 additions and 0 deletions

View File

@@ -249,6 +249,7 @@ CommandCost CmdBuildTrainWaypoint(TileIndex tile, uint32 flags, uint32 p1, uint3
RedrawWaypointSign(wp);
wp->xy = tile;
InvalidateWindowData(WC_WAYPOINT_VIEW, wp->index);
}
const StationSpec* statspec;