summaryrefslogtreecommitdiffstats
path: root/src/buildings/Treadable.cpp
diff options
context:
space:
mode:
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); }