diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-27 03:23:37 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-27 03:23:37 +0100 |
commit | 36e64dbd22a7e5ec6fc33a5087ed9788f1874f84 (patch) | |
tree | 390b86b4bf74c2de93d74e854ece1487040e3469 /src/core/EventList.cpp | |
parent | fix a struct init (diff) | |
download | re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.gz re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.bz2 re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.lz re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.xz re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.zst re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.zip |
Diffstat (limited to 'src/core/EventList.cpp')
-rw-r--r-- | src/core/EventList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/EventList.cpp b/src/core/EventList.cpp index 8d69ba78..93f72d4e 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, int32 crimeId, bool copsDontCare) +CEventList::ReportCrimeForEvent(eEventType type, intptr crimeId, bool copsDontCare) { eCrimeType crime; switch(type){ |