summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-21 02:19:31 +0000
committerbelugas <belugas@openttd.org>2008-08-21 02:19:31 +0000
commit8385653118ee2af289b7e284953aa29d784a159a (patch)
tree5f8779149503deef65b2167bbfb5e9a8300fba01 /src/waypoint.cpp
parentd3dd9c65660756ceb40a148f3ab21046aa325f63 (diff)
downloadopenttd-8385653118ee2af289b7e284953aa29d784a159a.tar.xz
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp
index 1518176a7..58dd92a9c 100644
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -460,7 +460,7 @@ Waypoint::~Waypoint()
free(this->name);
if (CleaningPool()) return;
-
+ DeleteWindowById(WC_WAYPOINT_VIEW, this->index);
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
RedrawWaypointSign(this);