summaryrefslogtreecommitdiffstats
path: root/src/core/EventList.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-03-28 15:47:52 +0100
committereray orçunus <erayorcunus@gmail.com>2020-03-28 16:52:25 +0100
commit112685ebac0a4f5da50fdc60ff71c35a5cddbdfa (patch)
treefb1223f514ddbf339bed0bed6a269ad1ad63c374 /src/core/EventList.cpp
parentremove include <new> from common.h (diff)
downloadre3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.tar
re3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.tar.gz
re3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.tar.bz2
re3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.tar.lz
re3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.tar.xz
re3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.tar.zst
re3-112685ebac0a4f5da50fdc60ff71c35a5cddbdfa.zip
Diffstat (limited to 'src/core/EventList.cpp')
-rw-r--r--src/core/EventList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/EventList.cpp b/src/core/EventList.cpp
index 4364359a..d72e32c4 100644
--- a/src/core/EventList.cpp
+++ b/src/core/EventList.cpp
@@ -212,7 +212,7 @@ CEventList::ReportCrimeForEvent(eEventType type, int32 crimeId, bool copsDontCar
#ifdef VC_PED_PORTS
if (crime == CRIME_HIT_PED && ((CPed*)crimeId)->IsPointerValid() &&
- FindPlayerPed()->m_pWanted->m_nWantedLevel == 0 && ((CPed*)crimeId)->m_ped_flagE2) {
+ FindPlayerPed()->m_pWanted->m_nWantedLevel == 0 && ((CPed*)crimeId)->bBeingChasedByPolice) {
if(!((CPed*)crimeId)->DyingOrDead()) {
sprintf(gString, "$50 Good Citizen Bonus!");