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

Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-09 18:00:56 -06:00
1 parent a32382a5ec
commit 7a2f21a0b1
7 files changed
+26 -17

No files matched your search

+2 -2
View File
@@ -3135,7 +3135,7 @@ void Spell::EffectOpenLock(uint32 /*i*/)
if( goInfo->type == GAMEOBJECT_TYPE_BUTTON && goInfo->button.noDamageImmune ||
goInfo->type == GAMEOBJECT_TYPE_GOOBER && goInfo->goober.losOK )
{
//isAllowUseBattleGroundObject() already called in CanCast()
//CanUseBattleGroundObject() already called in CanCast()
// in battleground check
if(BattleGround *bg = player->GetBattleGround())
{
@@ -3147,7 +3147,7 @@ void Spell::EffectOpenLock(uint32 /*i*/)
}
else if (goInfo->type == GAMEOBJECT_TYPE_FLAGSTAND)
{
//isAllowUseBattleGroundObject() already called in CanCast()
//CanUseBattleGroundObject() already called in CanCast()
// in battleground check
if(BattleGround *bg = player->GetBattleGround())
{