summaryrefslogtreecommitdiffstats
path: root/src/core/EventList.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-21 21:26:32 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-25 10:54:41 +0100
commita50244dc16085a49f4949cf75f6220320480cebd (patch)
tree34a022c699eed9c8651ddbe8391c985753e46b2b /src/core/EventList.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-a50244dc16085a49f4949cf75f6220320480cebd.tar
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.gz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.bz2
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.lz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.xz
re3-a50244dc16085a49f4949cf75f6220320480cebd.tar.zst
re3-a50244dc16085a49f4949cf75f6220320480cebd.zip
Diffstat (limited to '')
-rw-r--r--src/core/EventList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/EventList.cpp b/src/core/EventList.cpp
index fc345163..8e639656 100644
--- a/src/core/EventList.cpp
+++ b/src/core/EventList.cpp
@@ -120,7 +120,7 @@ CEventList::RegisterEvent(eEventType type, eEventEntity entityType, CEntity *ent
}
if(criminal == FindPlayerPed())
- ReportCrimeForEvent(type, (uintptr)ent, copsDontCare);
+ ReportCrimeForEvent(type, (intptr)ent, copsDontCare);
}
void
@@ -198,7 +198,7 @@ CEventList::FindClosestEvent(eEventType type, CVector posn, int32 *event)
}
void
-CEventList::ReportCrimeForEvent(eEventType type, size_t crimeId, bool copsDontCare)
+CEventList::ReportCrimeForEvent(eEventType type, intptr crimeId, bool copsDontCare)
{
eCrimeType crime;
switch(type){