mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
fix (module): Compile Fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user