author | KUDr |
Fri, 24 Aug 2007 17:49:42 +0000 | |
changeset 7964 | 46224d0b4752 |
parent 7963 | e04dbb203f3e |
child 7965 | c1a170885a60 |
src/waypoint.cpp | file | annotate | diff | comparison | revisions |
--- a/src/waypoint.cpp Fri Aug 24 00:23:35 2007 +0000 +++ b/src/waypoint.cpp Fri Aug 24 17:49:42 2007 +0000 @@ -196,6 +196,10 @@ 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) {