diff --git a/server/vehiclepool.cpp b/server/vehiclepool.cpp index b51c594..40dee66 100644 --- a/server/vehiclepool.cpp +++ b/server/vehiclepool.cpp @@ -11,3 +11,17 @@ CVehiclePool::CVehiclePool() memset(field_0,0,sizeof(field_0)); field_5E94 = 0; } + +CVehiclePool::~CVehiclePool() +{ + for(VEHICLEID VehicleID = 0; VehicleID != MAX_VEHICLES; VehicleID++) { + Delete(VehicleID); + } +} + +BOOL CVehiclePool::Delete(VEHICLEID VehicleID) +{ + // TODO: CVehiclePool::Delete W .text:00467700 L .text:0814CC10 + return FALSE; +} + diff --git a/server/vehiclepool.h b/server/vehiclepool.h index f606858..529aad6 100644 --- a/server/vehiclepool.h +++ b/server/vehiclepool.h @@ -12,7 +12,9 @@ private: public: CVehiclePool(); + ~CVehiclePool(); + BOOL Delete(VEHICLEID VehicleID); }; #endif