(svn r19958) -Codechange: move common code from Waypoint and Station destructors to BaseStation destructor

This commit is contained in:
smatz
2010-06-11 00:20:24 +00:00
parent c4175b752a
commit e71fd4bb57
2 changed files with 2 additions and 3 deletions

View File

@@ -52,6 +52,4 @@ Waypoint::~Waypoint()
if (CleaningPool()) return;
DeleteWindowById(WC_WAYPOINT_VIEW, this->index);
RemoveOrderFromAllVehicles(OT_GOTO_WAYPOINT, this->index);
this->sign.MarkDirty();
}