[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
2009-03-09 18:00:56 -06:00
parent a32382a5ec
commit 7a2f21a0b1
7 changed files with 26 additions and 17 deletions

View File

@@ -1252,7 +1252,7 @@ void GameObject::Use(Unit* user)
Player* player = (Player*)user;
if( player->isAllowUseBattleGroundObject() )
if( player->CanUseBattleGroundObject() )
{
// in battleground check
BattleGround *bg = player->GetBattleGround();
@@ -1277,7 +1277,7 @@ void GameObject::Use(Unit* user)
Player* player = (Player*)user;
if( player->isAllowUseBattleGroundObject() )
if( player->CanUseBattleGroundObject() )
{
// in battleground check
BattleGround *bg = player->GetBattleGround();