diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/waypoint.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp index 9847c9870..7383a2e9f 100644 --- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -196,6 +196,10 @@ CommandCost CmdBuildTrainWaypoint(TileIndex tile, uint32 flags, uint32 p1, uint3 wp->town_index = 0; wp->string = STR_NULL; wp->town_cn = 0; + } else if (flags & DC_EXEC) { + /* move existing (recently deleted) waypoint to the new location */ + RedrawWaypointSign(wp); + wp->xy = tile; } if (flags & DC_EXEC) { |