summaryrefslogtreecommitdiff
path: root/src/vehicle_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-26 20:45:02 +0000
committerrubidium <rubidium@openttd.org>2008-12-26 20:45:02 +0000
commitf18043ee21218dc9ea26ce41b1294c5212ac363c (patch)
tree8f057180fb9ab731f9c1950f45a7d957bf7d4ae0 /src/vehicle_func.h
parent73ca72922c64db43f16b4283548ccf30aca3e59a (diff)
downloadopenttd-f18043ee21218dc9ea26ce41b1294c5212ac363c.tar.xz
(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types.
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r--src/vehicle_func.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h
index e17b0f39d..4b80ab1c1 100644
--- a/src/vehicle_func.h
+++ b/src/vehicle_func.h
@@ -27,7 +27,6 @@ Vehicle *GetLastVehicleInChain(Vehicle *v);
const Vehicle *GetLastVehicleInChain(const Vehicle *v);
uint CountVehiclesInChain(const Vehicle *v);
bool IsEngineCountable(const Vehicle *v);
-void DeleteVehicleChain(Vehicle *v);
void FindVehicleOnPos(TileIndex tile, void *data, VehicleFromPosProc *proc);
void FindVehicleOnPosXY(int x, int y, void *data, VehicleFromPosProc *proc);
bool HasVehicleOnPos(TileIndex tile, void *data, VehicleFromPosProc *proc);