mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[10173] Fix infinity loop in 31884 spell code
Signed-off-by: Laise <fenrisse@gmail.com>
This commit is contained in:
parent
11a3de436e
commit
6fba66fded
2 changed files with 2 additions and 2 deletions
|
|
@ -8314,7 +8314,7 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
|
||||||
{
|
{
|
||||||
int32 percent = 0;
|
int32 percent = 0;
|
||||||
Unit::AuraList const& dummyAuras = m_target->GetAurasByType(SPELL_AURA_DUMMY);
|
Unit::AuraList const& dummyAuras = m_target->GetAurasByType(SPELL_AURA_DUMMY);
|
||||||
for(Unit::AuraList::const_iterator itr = dummyAuras.begin(); itr != dummyAuras.end(); itr)
|
for(Unit::AuraList::const_iterator itr = dummyAuras.begin(); itr != dummyAuras.end(); ++itr)
|
||||||
{
|
{
|
||||||
if ((*itr)->GetSpellProto()->SpellIconID == 3029)
|
if ((*itr)->GetSpellProto()->SpellIconID == 3029)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10172"
|
#define REVISION_NR "10173"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue