[7426] Mounted players now can capture tower point in Eye of Storm.

Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject

Signed-off-by: Triply <triply@getmangos.com>
This commit is contained in:
Triply 2009-03-09 16:38:10 +01:00
parent 1c8f8a2e13
commit 52696ce029
7 changed files with 21 additions and 11 deletions

View file

@ -4108,7 +4108,7 @@ uint8 Spell::CanCast(bool strict)
// In BattleGround players can use only flags and banners
if( ((Player*)m_caster)->InBattleGround() &&
!((Player*)m_caster)->isAllowUseBattleGroundObject() )
!((Player*)m_caster)->CanUseBattleGroundObject() )
return SPELL_FAILED_TRY_AGAIN;
// get the lock entry