Jump to content

[Mangos-0.12] fix freez caused wrong typo (Backporting)


Recommended Posts

Posted

based on commit : [fc1c10be8d6ac263fa4c877ea568f31d7c31a220] [7119]

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index bd45e9a..0890ce5 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -486,7 +486,7 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
                        Aura *poison = 0;
                        // Lookup for Deadly poison (only attacker applied)
                        Unit::AuraList const& auras = unitTarget->GetAurasByType(SPELL_AURA_PERIODIC_DAMAGE);
-                        for(Unit::AuraList::const_iterator itr = auras.begin(); itr!=auras.end() && combo;)
+                        for(Unit::AuraList::const_iterator itr = auras.begin(); itr!=auras.end(); ++itr)
                        {
                            // Deadly poison (only attacker applied)
                            if( (*itr)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_ROGUE && ((*itr)->GetSpellProto()->SpellFamilyFlags & UI64LIT(0x10000)) &&

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use