#include "../main.h" extern CNetGame *pNetGame; //---------------------------------------------------- CVehiclePool::CVehiclePool() { // loop through and initialize all net players to null and slot states to false for(VEHICLEID VehicleID = 0; VehicleID < MAX_VEHICLES; VehicleID++) { field_84D0[VehicleID] = 0; } } //---------------------------------------------------- CVehiclePool::~CVehiclePool() { for(VEHICLEID VehicleID = 0; VehicleID < MAX_VEHICLES; VehicleID++) { Delete(VehicleID); } } //---------------------------------------------------- BOOL CVehiclePool::Delete(VEHICLEID VehicleID) { pNetGame->sub_415EC0(VehicleID, FALSE); return TRUE; } //----------------------------------------------------