summaryrefslogtreecommitdiffstats
path: root/src/control/Darkel.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-10-06 23:39:25 +0200
committereray orçunus <erayorcunus@gmail.com>2019-10-06 23:39:25 +0200
commitd5d1c7ec5fc98f8355d812587938314406a6df80 (patch)
treee1652a9c39e77bd1bc8b81973fccbe91eb3d8eae /src/control/Darkel.cpp
parentRadio shadow fix, RAMPAGE!! message fix (diff)
downloadre3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar
re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.gz
re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.bz2
re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.lz
re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.xz
re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.zst
re3-d5d1c7ec5fc98f8355d812587938314406a6df80.zip
Diffstat (limited to 'src/control/Darkel.cpp')
-rw-r--r--src/control/Darkel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp
index da28faa7..915e280a 100644
--- a/src/control/Darkel.cpp
+++ b/src/control/Darkel.cpp
@@ -28,8 +28,8 @@ int8 &CDarkel::InterruptedWeapon = *(int8*)0x95CD60;
int8 &CDarkel::bStandardSoundAndMessages = *(int8*)0x95CDB6;
int8 &CDarkel::bNeedHeadShot = *(int8*)0x95CDCA;
int8 &CDarkel::bProperKillFrenzy = *(int8*)0x95CD98;
-eKillFrenzyStatus &CDarkel::Status = *(eKillFrenzyStatus*)0x95CCB4;
-uint16 (&CDarkel::RegisteredKills)[NUMDEFAULTMODELS] = *(uint16(*)[NUMDEFAULTMODELS]) * (uintptr*)0x6EDBE0;
+uint16 &CDarkel::Status = *(uint16*)0x95CCB4;
+uint16 (&CDarkel::RegisteredKills)[NUM_DEFAULT_MODELS] = *(uint16(*)[NUM_DEFAULT_MODELS]) * (uintptr*)0x6EDBE0;
int32 &CDarkel::ModelToKill = *(int32*)0x8F2C78;
int32 &CDarkel::ModelToKill2 = *(int32*)0x885B40;
int32 &CDarkel::ModelToKill3 = *(int32*)0x885B3C;
@@ -185,7 +185,7 @@ CDarkel::RegisterKillNotByPlayer(CPed* victim, eWeaponType weapontype)
void
CDarkel::ResetModelsKilledByPlayer()
{
- for (int i = 0; i < NUMDEFAULTMODELS; i++)
+ for (int i = 0; i < NUM_DEFAULT_MODELS; i++)
RegisteredKills[i] = 0;
}