diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index b034765..299ab3e 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -435,7 +435,7 @@ void AnticheatMgr::StartHackDetection(Player* player, MovementInfo movementInfo, ClimbHackDetection(player, movementInfo, opcode); TeleportHackDetection(player, movementInfo); IgnoreControlHackDetection(player, movementInfo, opcode); - GravityHackDetection(player, movementInfo, opcode); + GravityHackDetection(player, movementInfo); if (player->GetLiquidData().Status == LIQUID_MAP_WATER_WALK) { WalkOnWaterHackDetection(player, movementInfo); @@ -534,7 +534,7 @@ void AnticheatMgr::AntiSwimHackDetection(Player* player, MovementInfo movementIn } } -void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode) +void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInfo) { if (!sConfigMgr->GetOption("Anticheat.DetectGravityHack", true)) return; diff --git a/src/AnticheatMgr.h b/src/AnticheatMgr.h index 1c88fd1..0821a13 100644 --- a/src/AnticheatMgr.h +++ b/src/AnticheatMgr.h @@ -82,7 +82,7 @@ class AnticheatMgr void TeleportHackDetection(Player* player, MovementInfo movementInfo); void IgnoreControlHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode); void ZAxisHackDetection(Player* player, MovementInfo movementInfo); - void GravityHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode); + void GravityHackDetection(Player* player, MovementInfo movementInfo); void BuildReport(Player* player,uint16 reportType); bool MustCheckTempReports(uint8 type);