summaryrefslogtreecommitdiffstats
path: root/src/core/EventList.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-29 18:03:59 +0200
committerGitHub <noreply@github.com>2020-03-29 18:03:59 +0200
commit6704a62b32ac989121b9ba77838d9366051d1e61 (patch)
tree33289907884539caba07c67b26e0988c65f26a27 /src/core/EventList.cpp
parentMerge pull request #365 from Fire-Head/master (diff)
parentCShotInfo, CWanted done, Frontend fix (diff)
downloadre3-6704a62b32ac989121b9ba77838d9366051d1e61.tar
re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.gz
re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.bz2
re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.lz
re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.xz
re3-6704a62b32ac989121b9ba77838d9366051d1e61.tar.zst
re3-6704a62b32ac989121b9ba77838d9366051d1e61.zip
Diffstat (limited to 'src/core/EventList.cpp')
-rw-r--r--src/core/EventList.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/core/EventList.cpp b/src/core/EventList.cpp
index d72e32c4..d1c76f33 100644
--- a/src/core/EventList.cpp
+++ b/src/core/EventList.cpp
@@ -209,21 +209,9 @@ CEventList::ReportCrimeForEvent(eEventType type, int32 crimeId, bool copsDontCar
case EVENT_CAR_SET_ON_FIRE: crime = CRIME_VEHICLE_BURNED; break;
default: crime = CRIME_NONE; break;
}
-
-#ifdef VC_PED_PORTS
- if (crime == CRIME_HIT_PED && ((CPed*)crimeId)->IsPointerValid() &&
- FindPlayerPed()->m_pWanted->m_nWantedLevel == 0 && ((CPed*)crimeId)->bBeingChasedByPolice) {
-
- if(!((CPed*)crimeId)->DyingOrDead()) {
- sprintf(gString, "$50 Good Citizen Bonus!");
- AsciiToUnicode(gString, gUString);
- CMessages::AddBigMessage(gUString, 5000, 0);
- CWorld::Players[CWorld::PlayerInFocus].m_nMoney += 50;
- }
- } else
-#endif
- if(crime == CRIME_NONE)
- return;
+
+ if(crime == CRIME_NONE)
+ return;
CVector playerPedCoors = FindPlayerPed()->GetPosition();
CVector playerCoors = FindPlayerCoors();