From 5693ea24d2f6b7d2388807a3b0cd51951124ce04 Mon Sep 17 00:00:00 2001 From: MDIC Date: Mon, 15 Aug 2022 19:02:33 -0400 Subject: [PATCH] update (typo): Make workflow happy --- src/AnticheatMgr.cpp | 4 ++-- src/AnticheatMgr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 78e2209..4c4d4c5 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -96,7 +96,7 @@ void AnticheatMgr::StartHackDetection(Player* player, MovementInfo movementInfo, { if (bg->GetStatus() == STATUS_WAIT_JOIN) { - BGStartExploit(player, movementInfo, opcode); + BGStartExploit(player, movementInfo); } } m_Players[key].SetLastMovementInfo(movementInfo); @@ -783,7 +783,7 @@ void AnticheatMgr::NoFallDamageDetection(Player* player, MovementInfo movementIn } } -void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo, uint32 opcode) +void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo) { if (!sConfigMgr->GetOption("Anticheat.DetectBGStartHack", true)) return; diff --git a/src/AnticheatMgr.h b/src/AnticheatMgr.h index ba8ab9e..910b469 100644 --- a/src/AnticheatMgr.h +++ b/src/AnticheatMgr.h @@ -100,7 +100,7 @@ class AnticheatMgr void AntiSwimHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode); void AntiKnockBackHackDetection(Player* player, MovementInfo movementInfo); void NoFallDamageDetection(Player* player, MovementInfo movementInfo); - void BGStartExploit(Player* player, MovementInfo movementInfo, uint32 opcode); + void BGStartExploit(Player* player, MovementInfo movementInfo); void BuildReport(Player* player,uint16 reportType); bool MustCheckTempReports(uint8 type); uint32 _counter = 0;