diff options
author | erorcun <erayorcunus@gmail.com> | 2020-09-29 22:00:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 22:00:50 +0200 |
commit | f9dc00a458684ef88e733f5d0245b5e827de82c1 (patch) | |
tree | 5a9d57bca1c005b9bbd9db14e582b13ea3ebe77c /src/core | |
parent | Merge pull request #727 from erorcun/miami (diff) | |
parent | now fixed properly (diff) | |
download | re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.tar re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.tar.gz re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.tar.bz2 re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.tar.lz re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.tar.xz re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.tar.zst re3-f9dc00a458684ef88e733f5d0245b5e827de82c1.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/EventList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/EventList.cpp b/src/core/EventList.cpp index da0a5967..7eb1e186 100644 --- a/src/core/EventList.cpp +++ b/src/core/EventList.cpp @@ -230,7 +230,11 @@ CEventList::ReportCrimeForEvent(eEventType type, size_t crimeId, bool copsDontCa if(crime == CRIME_NONE) return; +#ifdef FIX_BUGS + CVector playerPedCoors = FindPlayerCoors(); +#else CVector playerPedCoors = FindPlayerPed()->GetPosition(); +#endif CVector playerCoors = FindPlayerCoors(); if(CWanted::WorkOutPolicePresence(playerCoors, 14.0f) != 0 || |