summaryrefslogtreecommitdiffstats
path: root/src/buildings/Treadable.cpp
blob: d84603a62fe7193b0612db58a49a426687245941 (plain) (blame)
1
2
3
4
5
6
7
8
#include "common.h"

#include "rpworld.h"
#include "Treadable.h"
#include "Pools.h"

void *CTreadable::operator new(size_t sz) throw() { return CPools::GetTreadablePool()->New();  }
void CTreadable::operator delete(void *p, size_t sz) throw() { CPools::GetTreadablePool()->Delete((CTreadable*)p); }