From 59671fab03703570eeb4837b713108619d762a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Thu, 18 Jul 2019 05:26:46 +0300 Subject: The Peds, mainly dying/injuring There is also some reorganization --- src/control/Darkel.cpp | 2 +- src/control/Darkel.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/control') 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); -- cgit v1.2.3