summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-18 15:19:34 +0200
committerGitHub <noreply@github.com>2019-07-18 15:19:34 +0200
commit82be4660134b6ec8947a5323676cf4795a3e90e8 (patch)
tree43111284607fc41ce0bbf2d25c51eb250ff28422 /src/control
parentMerge pull request #148 from Nick007J/master (diff)
parentWanted changes in PlayerPed/PedModelInfo (diff)
downloadre3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.gz
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.bz2
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.lz
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.xz
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.tar.zst
re3-82be4660134b6ec8947a5323676cf4795a3e90e8.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Darkel.cpp2
-rw-r--r--src/control/Darkel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp
index 678fcd45..ad8d1176 100644
--- a/src/control/Darkel.cpp
+++ b/src/control/Darkel.cpp
@@ -141,7 +141,7 @@ void CDarkel::RegisterKillByPlayer(CPed *victim, eWeaponType weapontype, bool he
}
#endif
-void CDarkel::RegisterKillNotByPlayer()
+void CDarkel::RegisterKillNotByPlayer(CPed* victim, eWeaponType weapontype)
{
++CStats::NumberKillFrenziesPassed;
}
diff --git a/src/control/Darkel.h b/src/control/Darkel.h
index 35d849d2..77a14bb8 100644
--- a/src/control/Darkel.h
+++ b/src/control/Darkel.h
@@ -42,7 +42,7 @@ public:
static eKillFrenzyStatus ReadStatus();
static void RegisterCarBlownUpByPlayer(CVehicle *vehicle);
static void RegisterKillByPlayer(CPed *victim, eWeaponType weapontype, bool headshot = false);
- static void RegisterKillNotByPlayer();
+ static void RegisterKillNotByPlayer(CPed* victim, eWeaponType weapontype);
static void ResetModelsKilledByPlayer();
static void ResetOnPlayerDeath();
static void StartFrenzy(eWeaponType weaponType, int32 time, int16 kill, int32 modelId0, wchar *text, int32 modelId2, int32 modelId3, int32 modelId4, bool standardSound, bool needHeadShot);