mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
fix(Build): correct build
This commit is contained in:
@@ -221,7 +221,7 @@ void AnticheatMgr::ClimbHackDetection(Player *player, MovementInfo movementInfo,
|
||||
player->IsFalling())
|
||||
return;
|
||||
|
||||
Position pos = player->GetPosition();
|
||||
Position playerPos = player->GetPosition();
|
||||
|
||||
float deltaZ = fabs(playerPos.GetPositionZ() - movementInfo.pos.GetPositionZ());
|
||||
float deltaXY = movementInfo.pos.GetExactDist2d(&playerPos);
|
||||
|
||||
Reference in New Issue
Block a user