summaryrefslogtreecommitdiffstats
path: root/src/entities/Vehicle.cpp
blob: f18cb5a7a0cdebe63f829df7892be3cb14f961df (plain) (blame)
1
2
3
4
5
6
7
#include "common.h"
#include "patcher.h"
#include "Vehicle.h"
#include "Pools.h"

void *CVehicle::operator new(size_t sz) { return CPools::GetVehiclePool()->New();  }
void CVehicle::operator delete(void *p, size_t sz) { CPools::GetVehiclePool()->Delete((CVehicle*)p); }