diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index a92931706..3562a2b58 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -453,18 +453,6 @@ void InitializeVehicles() ResetVehiclePosHash(); } -Vehicle *GetLastVehicleInChain(Vehicle *v) -{ - while (v->Next() != NULL) v = v->Next(); - return v; -} - -const Vehicle *GetLastVehicleInChain(const Vehicle *v) -{ - while (v->Next() != NULL) v = v->Next(); - return v; -} - uint CountVehiclesInChain(const Vehicle *v) { uint count = 0; |