summaryrefslogtreecommitdiffstats
path: root/src/entities/Treadable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/Treadable.cpp')
-rw-r--r--src/entities/Treadable.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/entities/Treadable.cpp b/src/entities/Treadable.cpp
new file mode 100644
index 00000000..e2eca36a
--- /dev/null
+++ b/src/entities/Treadable.cpp
@@ -0,0 +1,7 @@
+#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); }