[7119] Fixed some typos that caused a freeze

This commit is contained in:
Wyk3d 2009-01-20 00:46:56 +02:00
parent dab1f96f66
commit a97d49bdc5
2 changed files with 2 additions and 2 deletions

View file

@ -492,7 +492,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
Aura *poison = 0; Aura *poison = 0;
// Lookup for Deadly poison (only attacker applied) // Lookup for Deadly poison (only attacker applied)
Unit::AuraList const& auras = unitTarget->GetAurasByType(SPELL_AURA_PERIODIC_DAMAGE); 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)
if( (*itr)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_ROGUE && if( (*itr)->GetSpellProto()->SpellFamilyName==SPELLFAMILY_ROGUE &&
(*itr)->GetSpellProto()->SpellFamilyFlags & 0x10000 && (*itr)->GetSpellProto()->SpellFamilyFlags & 0x10000 &&
(*itr)->GetCasterGUID()==m_caster->GetGUID() ) (*itr)->GetCasterGUID()==m_caster->GetGUID() )

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7118" #define REVISION_NR "7119"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__