Fixed compile errors

This commit is contained in:
tomrus88 2008-11-30 17:04:36 +03:00
parent 1c28b1ad50
commit e556b67ddc
3 changed files with 3 additions and 2 deletions

View file

@ -3235,7 +3235,7 @@ void Spell::TakeRunePower()
// you can gain some runic power when use runes
float rp = src->runePowerGain;;
rp *= sWorld.getRate(RATE_POWER_RUNICPOWER_INCOME);
plr->ModifyPower(POWER_RUNIC_POWER, (int32)rp)
plr->ModifyPower(POWER_RUNIC_POWER, (int32)rp);
}
void Spell::TakeReagents()

View file

@ -302,6 +302,7 @@ class Spell
void EffectTriggerRitualOfSummoning(uint32 i);
void EffectKillCredit(uint32 i);
void EffectQuestFail(uint32 i);
void EffectActivateRune(uint32 i);
Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 originalCasterGUID = 0, Spell** triggeringContainer = NULL );
~Spell();

View file

@ -6297,7 +6297,7 @@ void Spell::EffectActivateRune(uint32 i)
{
if(plr->GetRuneCooldown(j) && plr->GetCurrentRune(j) == m_spellInfo->EffectMiscValue[i])
{
plr->SetRuneCooldown(j, 0));
plr->SetRuneCooldown(j, 0);
}
}
}