diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-06-02 23:56:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 23:56:56 +0200 |
commit | aa1163ccb2784f618f012ca878e07af54b2e9041 (patch) | |
tree | 04a15b6ef8896ad99ba22258c7bdee00c43c7df6 /src/entities/Vehicle.cpp | |
parent | gamestates fixed, mpeg now working (diff) | |
parent | added CPhysical flags from Nick (diff) | |
download | re3-aa1163ccb2784f618f012ca878e07af54b2e9041.tar re3-aa1163ccb2784f618f012ca878e07af54b2e9041.tar.gz re3-aa1163ccb2784f618f012ca878e07af54b2e9041.tar.bz2 re3-aa1163ccb2784f618f012ca878e07af54b2e9041.tar.lz re3-aa1163ccb2784f618f012ca878e07af54b2e9041.tar.xz re3-aa1163ccb2784f618f012ca878e07af54b2e9041.tar.zst re3-aa1163ccb2784f618f012ca878e07af54b2e9041.zip |
Diffstat (limited to 'src/entities/Vehicle.cpp')
-rw-r--r-- | src/entities/Vehicle.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/entities/Vehicle.cpp b/src/entities/Vehicle.cpp new file mode 100644 index 00000000..f18cb5a7 --- /dev/null +++ b/src/entities/Vehicle.cpp @@ -0,0 +1,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); } |