blob: 8ce1250f16bd78941286d5ced0611b0a87428c45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include "common.h"
#include "patcher.h"
#include "Object.h"
#include "Pools.h"
void *CObject::operator new(size_t sz) { return CPools::GetObjectPool()->New(); }
void CObject::operator delete(void *p, size_t sz) { CPools::GetObjectPool()->Delete((CObject*)p); }
WRAPPER void CObject::ObjectDamage(float amount) { EAXJMP(0x4BB240); }
|