(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 857df41a6d
commit a813b6a854
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;