(svn r10973) -Fix [FS#1154]: update wp->xy when waypoint is moved (Catalan)

This commit is contained in:
KUDr
2007-08-24 17:49:42 +00:00
parent 40d4d2f2ca
commit 9503f02063

View File

@@ -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) {