summaryrefslogtreecommitdiffstats
path: root/src/buildings/Treadable.cpp
blob: 00abbe132782098e862b003317c921c136193520 (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) { return CPools::GetTreadablePool()->New();  }
void CTreadable::operator delete(void *p, size_t sz) { CPools::GetTreadablePool()->Delete((CTreadable*)p); }