diff options
author | belugas <belugas@openttd.org> | 2008-08-21 02:19:31 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-21 02:19:31 +0000 |
commit | 8385653118ee2af289b7e284953aa29d784a159a (patch) | |
tree | 5f8779149503deef65b2167bbfb5e9a8300fba01 | |
parent | d3dd9c65660756ceb40a148f3ab21046aa325f63 (diff) | |
download | openttd-8385653118ee2af289b7e284953aa29d784a159a.tar.xz |
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
-rw-r--r-- | src/waypoint.cpp | 2 |
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); |