Changeset 18 for trunk/src/game/Spell.cpp
- Timestamp:
- 11/19/08 13:23:29 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Spell.cpp
r15 r18 3682 3682 return SPELL_FAILED_BAD_TARGETS; 3683 3683 3684 // In BattleGround players can use only flags and banners 3685 if( ((Player*)m_caster)->InBattleGround() && 3686 !((Player*)m_caster)->isAllowUseBattleGroundObject() ) 3687 return SPELL_FAILED_TRY_AGAIN; 3688 3684 3689 // get the lock entry 3685 3690 LockEntry const *lockInfo = NULL;