mirror of https://github.com/OpenTTD/OpenTTD
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
parent
d3dd9c6566
commit
8385653118
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue