diff options
author | megamage <none@none> | 2009-03-09 18:00:56 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-09 18:00:56 -0600 |
commit | 7a2f21a0b18ca90cc351521d31d56e5eede6a263 (patch) | |
tree | b3b0a03b5705e33f20f2adafd7147161f5145e75 /src/game/Spell.cpp | |
parent | a32382a5ec082b1363f616027ce5e33baddbea78 (diff) |
[7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index c35f67a68c6..2cba7f6ef10 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4070,7 +4070,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 |