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:40:59 +0100
commitbe92b57b54241de55e233376f481ba848ca8df35 (patch)
tree18111337fba137a947e5c7479021887a0c302fcb /src/buildings/Treadable.cpp
parentMerge pull request #890 from aap/miami (diff)
downloadre3-be92b57b54241de55e233376f481ba848ca8df35.tar
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.gz
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.bz2
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.lz
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.xz
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.zst
re3-be92b57b54241de55e233376f481ba848ca8df35.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); }