summaryrefslogtreecommitdiffstats
path: root/src/core/EventList.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-07-24 19:36:26 +0200
committerGitHub <noreply@github.com>2020-07-24 19:36:26 +0200
commit53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5 (patch)
treeee2e85916ffadc40bc0564348ac5041196cbf28a /src/core/EventList.cpp
parentupdate librw (diff)
parent64-bit on Windows (diff)
downloadre3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.tar
re3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.tar.gz
re3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.tar.bz2
re3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.tar.lz
re3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.tar.xz
re3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.tar.zst
re3-53e7cbbd5acf94efe8d123db4b0f5d8d0aa6b2e5.zip
Diffstat (limited to 'src/core/EventList.cpp')
-rw-r--r--src/core/EventList.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/EventList.cpp b/src/core/EventList.cpp
index 4fab29bc..e5f264c7 100644
--- a/src/core/EventList.cpp
+++ b/src/core/EventList.cpp
@@ -189,7 +189,7 @@ CEventList::FindClosestEvent(eEventType type, CVector posn, int32 *event)
// --MIAMI: Done
void
-CEventList::ReportCrimeForEvent(eEventType type, int32 crimeId, bool copsDontCare)
+CEventList::ReportCrimeForEvent(eEventType type, size_t crimeId, bool copsDontCare)
{
eCrimeType crime;
switch(type){
@@ -227,10 +227,10 @@ CEventList::ReportCrimeForEvent(eEventType type, int32 crimeId, bool copsDontCar
if(CWanted::WorkOutPolicePresence(playerCoors, 14.0f) != 0 ||
CGame::germanGame && (crime == CRIME_SHOOT_PED || crime == CRIME_SHOOT_COP || crime == CRIME_COP_BURNED || crime == CRIME_VEHICLE_BURNED)){
- FindPlayerPed()->m_pWanted->RegisterCrime_Immediately(crime, playerPedCoors, crimeId, copsDontCare);
+ FindPlayerPed()->m_pWanted->RegisterCrime_Immediately(crime, playerPedCoors, (uint32)crimeId, copsDontCare);
FindPlayerPed()->m_pWanted->SetWantedLevelNoDrop(1);
}else
- FindPlayerPed()->m_pWanted->RegisterCrime(crime, playerPedCoors, crimeId, copsDontCare);
+ FindPlayerPed()->m_pWanted->RegisterCrime(crime, playerPedCoors, (uint32)crimeId, copsDontCare);
if(type == EVENT_ASSAULT_POLICE)
FindPlayerPed()->SetWantedLevelNoDrop(1);