mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7119] Fixed some typos that caused a freeze
This commit is contained in:
parent
dab1f96f66
commit
a97d49bdc5
2 changed files with 2 additions and 2 deletions
|
|
@ -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() )
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue