(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing

This commit is contained in:
belugas
2008-08-21 02:19:31 +00:00
parent a91c078526
commit 97de2577e3

View File

@@ -460,7 +460,7 @@ Waypoint::~Waypoint()
free(this->name); free(this->name);
if (CleaningPool()) return; if (CleaningPool()) return;
DeleteWindowById(WC_WAYPOINT_VIEW, this->index);
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index); RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
RedrawWaypointSign(this); RedrawWaypointSign(this);