Core: Fixes some warnings
Core/SmartAI: Fixed DamageTaken and DamageDealt hooks --HG-- branch : trunk extra : rebase_source : 062f1c68cd1d318d192b294a493db17a1943bee2
This commit is contained in:
@@ -2939,6 +2939,8 @@ void AuraEffect::HandlePhase(AuraApplication const * aurApp, uint8 mode, bool ap
|
||||
for (Unit::AuraEffectList::const_iterator itr = phases.begin(); itr != phases.end(); ++itr)
|
||||
newPhase |= (*itr)->GetMiscValue();
|
||||
|
||||
if (apply)
|
||||
newPhase |= GetMiscValue();
|
||||
|
||||
// phase auras normally not expected at BG but anyway better check
|
||||
if (Player* player = target->ToPlayer())
|
||||
|
||||
Reference in New Issue
Block a user