From a22aedf3209f62fc93871568cf052730a0320c17 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 23 May 2009 10:16:40 -0500 Subject: [PATCH] *Fix build. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 +- src/game/Unit.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 89e53ed566..743b395273 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4936,7 +4936,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) case 58941: // Rock Shards if(unitTarget && m_originalCaster) { - for(uint32 i = 0; i < 5; ++i) + for(uint32 i = 0; i < 3; ++i) { m_originalCaster->CastSpell(unitTarget, 58689, true); m_originalCaster->CastSpell(unitTarget, 58692, true); diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 8c87dc044f..b0586b5c59 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3815,7 +3815,7 @@ bool Unit::AddAura(Aura *Aur, bool handleEffects) // find current aura from spell and change it's stackamount if (Aura * foundAura = GetAura(aurSpellInfo->Id, Aur->GetCasterGUID())) { - if(foundAura->aurSpellInfo->StackAmount) + if(aurSpellInfo->StackAmount) { uint8 stackAmount = foundAura->GetStackAmount() + 1; if (stackAmount > aurSpellInfo->StackAmount)