[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
@@ -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();