summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp12
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;