fix (module): Compile Fix

This commit is contained in:
MDIC
2022-05-11 11:43:11 -04:00
parent 365c6f6c6e
commit e5b78176e8
2 changed files with 3 additions and 3 deletions

View File

@@ -435,7 +435,7 @@ void AnticheatMgr::StartHackDetection(Player* player, MovementInfo movementInfo,
ClimbHackDetection(player, movementInfo, opcode); ClimbHackDetection(player, movementInfo, opcode);
TeleportHackDetection(player, movementInfo); TeleportHackDetection(player, movementInfo);
IgnoreControlHackDetection(player, movementInfo, opcode); IgnoreControlHackDetection(player, movementInfo, opcode);
GravityHackDetection(player, movementInfo, opcode); GravityHackDetection(player, movementInfo);
if (player->GetLiquidData().Status == LIQUID_MAP_WATER_WALK) if (player->GetLiquidData().Status == LIQUID_MAP_WATER_WALK)
{ {
WalkOnWaterHackDetection(player, movementInfo); 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<bool>("Anticheat.DetectGravityHack", true)) if (!sConfigMgr->GetOption<bool>("Anticheat.DetectGravityHack", true))
return; return;

View File

@@ -82,7 +82,7 @@ class AnticheatMgr
void TeleportHackDetection(Player* player, MovementInfo movementInfo); void TeleportHackDetection(Player* player, MovementInfo movementInfo);
void IgnoreControlHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode); void IgnoreControlHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode);
void ZAxisHackDetection(Player* player, MovementInfo movementInfo); 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); void BuildReport(Player* player,uint16 reportType);
bool MustCheckTempReports(uint8 type); bool MustCheckTempReports(uint8 type);