summaryrefslogtreecommitdiffstats
path: root/src/entities/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-02 17:13:56 +0200
committeraap <aap@papnet.eu>2019-06-02 17:13:56 +0200
commit541665d9d12d9f85dd759b14a8c6abd84714b84f (patch)
tree038a09c138f91ffe5512e27f0cfe6141f47ea24e /src/entities/Vehicle.cpp
parentMerge pull request #6 from Fire-Head/master (diff)
downloadre3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.gz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.bz2
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.lz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.xz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.zst
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Vehicle.cpp7
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); }