diff options
author | megamage <none@none> | 2009-03-16 12:00:14 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-16 12:00:14 -0600 |
commit | 3eba06e4ad7c9b92babd3df14d0602212e60b7cc (patch) | |
tree | 2dde1616704447c9c2a0d0ab0c4d6cc523a2842f /src/game/SpellEffects.cpp | |
parent | 2453f2212324d656676693fd2b420290797a9ebf (diff) |
*Use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value now). By VladimirMangos.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 5cfb00588c5..309cf6e5816 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3104,7 +3104,7 @@ void Spell::EffectOpenLock(uint32 effIndex) if( goInfo->type == GAMEOBJECT_TYPE_BUTTON && goInfo->button.noDamageImmune || goInfo->type == GAMEOBJECT_TYPE_GOOBER && goInfo->goober.losOK ) { - //CanUseBattleGroundObject() already called in CanCast() + //CanUseBattleGroundObject() already called in CheckCast() // in battleground check if(BattleGround *bg = player->GetBattleGround()) { @@ -3116,7 +3116,7 @@ void Spell::EffectOpenLock(uint32 effIndex) } else if (goInfo->type == GAMEOBJECT_TYPE_FLAGSTAND) { - //CanUseBattleGroundObject() already called in CanCast() + //CanUseBattleGroundObject() already called in CheckCast() // in battleground check if(BattleGround *bg = player->GetBattleGround()) { @@ -3156,7 +3156,7 @@ void Spell::EffectOpenLock(uint32 effIndex) SendLoot(guid, LOOT_SKINNING); - // not allow use skill grou at item base open + // not allow use skill grow at item base open if(!m_CastItem && skillId != SKILL_NONE) { // update skill if really known |