diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-06-25 23:27:12 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-06-25 23:27:20 +0200 |
commit | 9b5caa190e30131e361e77e0921653d13f5d124f (patch) | |
tree | b2e1ca16ed14d268e546c0e07db87743b2bb6f17 /src/peds/Ped.cpp | |
parent | Revert "Redo ReadSaveBuf + common.h cleanup" (diff) | |
download | re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.gz re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.bz2 re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.lz re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.xz re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.zst re3-9b5caa190e30131e361e77e0921653d13f5d124f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 5e1fb842..5b25c92e 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -47,10 +47,10 @@ bool CPed::bPedCheat2; bool CPed::bPedCheat3; CVector2D CPed::ms_vec2DFleePosition; -void *CPed::operator new(size_t sz) { return CPools::GetPedPool()->New(); } -void *CPed::operator new(size_t sz, int handle) { return CPools::GetPedPool()->New(handle); } -void CPed::operator delete(void *p, size_t sz) { CPools::GetPedPool()->Delete((CPed*)p); } -void CPed::operator delete(void *p, int handle) { CPools::GetPedPool()->Delete((CPed*)p); } +void *CPed::operator new(size_t sz) throw() { return CPools::GetPedPool()->New(); } +void *CPed::operator new(size_t sz, int handle) throw() { return CPools::GetPedPool()->New(handle); } +void CPed::operator delete(void *p, size_t sz) throw() { CPools::GetPedPool()->Delete((CPed*)p); } +void CPed::operator delete(void *p, int handle) throw() { CPools::GetPedPool()->Delete((CPed*)p); } #ifdef DEBUGMENU bool CPed::bPopHeadsOnHeadshot = false; |