summaryrefslogtreecommitdiffstats
path: root/src/buildings/Treadable.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-20 11:39:44 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-20 11:39:44 +0100
commitaffd3c6baa9505328a804263434b14ee0aba1b3f (patch)
tree8c2bbbfd0d6e1c02740532662b93d99284f463b1 /src/buildings/Treadable.cpp
parentfixes to last HUD commits (diff)
downloadre3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.gz
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.bz2
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.lz
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.xz
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.zst
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.zip
Diffstat (limited to 'src/buildings/Treadable.cpp')
-rw-r--r--src/buildings/Treadable.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buildings/Treadable.cpp b/src/buildings/Treadable.cpp
new file mode 100644
index 00000000..00abbe13
--- /dev/null
+++ b/src/buildings/Treadable.cpp
@@ -0,0 +1,8 @@
+#include "common.h"
+
+#include "rpworld.h"
+#include "Treadable.h"
+#include "Pools.h"
+
+void *CTreadable::operator new(size_t sz) { return CPools::GetTreadablePool()->New(); }
+void CTreadable::operator delete(void *p, size_t sz) { CPools::GetTreadablePool()->Delete((CTreadable*)p); }