From 42efe99e3d8a308de73708b4d16b997390aebb69 Mon Sep 17 00:00:00 2001 From: acidmanifesto Date: Tue, 8 Feb 2022 14:28:28 -0500 Subject: [PATCH] blank line removal --- src/AnticheatMgr.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index b94486f..be96b1f 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -57,10 +57,10 @@ void AnticheatMgr::WalkOnWaterHackDetection(Player* player, MovementInfo moveme if (!player->IsAlive()) return; - // Prevents the False Positive for water walking when you ressurrect. - // Aura 15007 (Resurrectino sickness) is given while dead before returning back to life. - if (!player->IsAlive() && player->HasAura(15007)) - return; + // Prevents the False Positive for water walking when you ressurrect. + // Aura 15007 (Resurrectino sickness) is given while dead before returning back to life. + if (!player->IsAlive() && player->HasAura(15007)) + return; if (player->HasAuraType(SPELL_AURA_FEATHER_FALL) || player->HasAuraType(SPELL_AURA_SAFE_FALL) || @@ -286,7 +286,6 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo) } } - void AnticheatMgr::HandlePlayerLogin(Player* player) { // we must delete this to prevent errors in case of crash