diff options
author | rubidium <rubidium@openttd.org> | 2009-12-02 18:18:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-02 18:18:56 +0000 |
commit | 0ef0e1379534c6372ea93790c1e4b0855c8077d1 (patch) | |
tree | d044e4280831f6afdf44626ee303896ef8570c6b /src/vehicle.cpp | |
parent | 429f3993f8dc380780a23a6f46420797a9a8a11c (diff) | |
download | openttd-0ef0e1379534c6372ea93790c1e4b0855c8077d1.tar.xz |
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index bee83a84c..ab4af88bb 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -496,7 +496,6 @@ void Vehicle::PreDestructor() if (this->IsPrimaryVehicle()) DecreaseGroupNumVehicle(this->group_id); } - if (this->type == VEH_ROAD) ClearSlot(RoadVehicle::From(this)); if (this->type == VEH_AIRCRAFT && this->IsPrimaryVehicle()) { Aircraft *a = Aircraft::From(this); Station *st = GetTargetAirportIfValid(a); |