summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-18 06:33:47 +0200
committerSergeanur <s.anureev@yandex.ua>2021-05-18 06:33:47 +0200
commit3596897961224e2cebd93e1f94db37a957808989 (patch)
tree9378d463e73933c90dcf90be93da7c9bac3dbeb1 /src/peds/Ped.cpp
parentFix quiet police scanner on OpenAL (diff)
parentMerge branch 'miami' of http://git.jacksmininetwork.co.uk/re/re3 into miami (diff)
downloadre3-3596897961224e2cebd93e1f94db37a957808989.tar
re3-3596897961224e2cebd93e1f94db37a957808989.tar.gz
re3-3596897961224e2cebd93e1f94db37a957808989.tar.bz2
re3-3596897961224e2cebd93e1f94db37a957808989.tar.lz
re3-3596897961224e2cebd93e1f94db37a957808989.tar.xz
re3-3596897961224e2cebd93e1f94db37a957808989.tar.zst
re3-3596897961224e2cebd93e1f94db37a957808989.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index fe105645..d8c445bf 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -53,10 +53,10 @@ bool CPed::bFannyMagnetCheat;
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); }
float gfTommyFatness = 1.0f;