summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-13 21:38:23 +0000
committersmatz <smatz@openttd.org>2009-05-13 21:38:23 +0000
commita1addc1d9540b3cd80581d36ac341a1303ce302f (patch)
tree6f052a1162bd3c124b508400ac8a0d4c33b5bf08 /src/vehicle_base.h
parentc0ed9f779b7c21acf868b30782f6d7e98b919ca1 (diff)
downloadopenttd-a1addc1d9540b3cd80581d36ac341a1303ce302f.tar.xz
(svn r16302) -Codechange: remove Vehicle::AllocateList
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index 3805d7550..5edb31c9e 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -327,14 +327,6 @@ public:
uint32 cached_var42; ///< Cache for NewGRF var 42
uint32 cached_var43; ///< Cache for NewGRF var 43
- /**
- * Allocates a lot of vehicles.
- * @param vl pointer to an array of vehicles to get allocated. Can be NULL if the vehicles aren't needed (makes it test only)
- * @param num number of vehicles to allocate room for
- * @return true if there is room to allocate all the vehicles
- */
- static bool AllocateList(Vehicle **vl, int num);
-
/** Create a new vehicle */
Vehicle();