From 8bca8a45edf85a73fe77ee28b6d7a9009e2ebd25 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 4 Jul 2024 19:47:36 +0200 Subject: [PATCH] chore(Core/Spells): Fix compile warning (#19278) * chore(Core/Spells): Fix compile warning * s --- src/server/game/Spells/Auras/SpellAuraEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 85b2a5995..63af8f62b 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -2011,7 +2011,7 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo if (modelid > 0) { bool allow = true; - if (target->getTransForm() && !target->GetMapId() == 560 /*The Escape From Durnholde*/) + if (target->getTransForm() && !(target->GetMapId() == 560 /*The Escape From Durnholde*/)) if (SpellInfo const* transformSpellInfo = sSpellMgr->GetSpellInfo(target->getTransForm())) if (transformSpellInfo->HasAttribute(SPELL_ATTR0_NO_IMMUNITIES) || !transformSpellInfo->IsPositive()) allow = false;