summaryrefslogtreecommitdiff
path: root/src/core/EventList.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-09-26 21:10:23 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-09-26 21:10:23 +0300
commitf7d5021ac59026435165e97aba869a76cfef1059 (patch)
tree1a57b2e0491be1505f20f99aa38e84232619b53a /src/core/EventList.cpp
parent4d1182bdb1f4a362f7aab82075a27a2b19b874d8 (diff)
VC replays
Diffstat (limited to 'src/core/EventList.cpp')
-rw-r--r--src/core/EventList.cpp4
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 ||