[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:
1 parent
a32382a5ec
commit
7a2f21a0b1
7 files changed
+26
-17
No files matched your search
@@ -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())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user