[server] Implement CVehiclePool dtor

* Add CVehiclePool::Delete() stub
This commit is contained in:
RD42 2023-12-12 22:44:00 +08:00
parent a4a7514703
commit 0e00a458b9
2 changed files with 16 additions and 0 deletions

View File

@ -11,3 +11,17 @@ CVehiclePool::CVehiclePool()
memset(field_0,0,sizeof(field_0)); memset(field_0,0,sizeof(field_0));
field_5E94 = 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;
}

View File

@ -12,7 +12,9 @@ private:
public: public:
CVehiclePool(); CVehiclePool();
~CVehiclePool();
BOOL Delete(VEHICLEID VehicleID);
}; };
#endif #endif