summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-02 18:18:56 +0000
committerrubidium <rubidium@openttd.org>2009-12-02 18:18:56 +0000
commit0ef0e1379534c6372ea93790c1e4b0855c8077d1 (patch)
treed044e4280831f6afdf44626ee303896ef8570c6b /src/vehicle.cpp
parent429f3993f8dc380780a23a6f46420797a9a8a11c (diff)
downloadopenttd-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.cpp1
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);