1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-30 18:55:28 +00:00
re3/src/entities/Object.cpp

10 lines
336 B
C++
Raw Normal View History

2019-05-15 14:52:37 +00:00
#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); }