diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-09-03 17:13:16 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-09-03 17:13:16 +0200 |
commit | d7af1e33ecdc384768424dc213e02a175841e690 (patch) | |
tree | 4125bb6a4aabf69abb9b3eef1beee889e3a9633d /src | |
parent | 4baf5c5231f3329dbdc715b64a568aeeb4cd304b (diff) |
Core/Auras: Warning fix
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 77d2b487bb3..c60397d8ca8 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -1475,7 +1475,7 @@ void AuraEffect::HandleShapeshiftBoosts(Unit* target, bool apply) const for (Unit::AuraApplicationMap::iterator itr = tAuras.begin(); itr != tAuras.end();) { // Use the new aura to see on what stance the target will be - uint64 newStance = newAura ? (UI64LIT(1) << (newAura->GetMiscValue()) - 1) : 0; + uint64 newStance = newAura ? (UI64LIT(1) << (newAura->GetMiscValue() - 1)) : 0; // If the stances are not compatible with the spell, remove it if (itr->second->GetBase()->IsRemovedOnShapeLost(target) && !(itr->second->GetBase()->GetSpellInfo()->Stances & newStance)) |