*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-23 10:16:40 -05:00
parent 5ca07b38d3
commit a22aedf320
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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)