From a1addc1d9540b3cd80581d36ac341a1303ce302f Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 13 May 2009 21:38:23 +0000 Subject: (svn r16302) -Codechange: remove Vehicle::AllocateList --- src/vehicle_base.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/vehicle_base.h') 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(); -- cgit v1.2.3-70-g09d2