From 8385653118ee2af289b7e284953aa29d784a159a Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 21 Aug 2008 02:19:31 +0000 Subject: [PATCH] (svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing --- src/waypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/waypoint.cpp b/src/waypoint.cpp index 1518176a7b..58dd92a9c8 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);