diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-08-03 03:00:12 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-08-03 15:00:32 +0200 |
commit | e14252914e9bd4cf7702479b5e0b050b935ba4aa (patch) | |
tree | df42291b9b6745f86097de4d58fc55e6a64b1b8c /src/core/Accident.cpp | |
parent | Move sdk and eax (diff) | |
download | re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.gz re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.bz2 re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.lz re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.xz re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.tar.zst re3-e14252914e9bd4cf7702479b5e0b050b935ba4aa.zip |
Diffstat (limited to 'src/core/Accident.cpp')
-rw-r--r-- | src/core/Accident.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Accident.cpp b/src/core/Accident.cpp index 1fd6c123..c8611323 100644 --- a/src/core/Accident.cpp +++ b/src/core/Accident.cpp @@ -53,6 +53,10 @@ CAccidentManager::ReportAccident(CPed *ped) void CAccidentManager::Update() { +#ifdef SQUEEZE_PERFORMANCE + // Handled after injury registered. + return; +#endif int32 e; if (CEventList::GetEvent(EVENT_INJURED_PED, &e)) { CPed *ped = CPools::GetPed(gaEvent[e].entityRef); |