From 7a2f21a0b18ca90cc351521d31d56e5eede6a263 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 9 Mar 2009 18:00:56 -0600 Subject: [7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject --HG-- branch : trunk --- src/game/GameObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/GameObject.cpp') diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 413cc9dda8e..8f620638b01 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -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(); -- cgit v1.2.3