aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-09 18:00:56 -0600
committermegamage <none@none>2009-03-09 18:00:56 -0600
commit7a2f21a0b18ca90cc351521d31d56e5eede6a263 (patch)
treeb3b0a03b5705e33f20f2adafd7147161f5145e75 /src/game/GameObject.cpp
parenta32382a5ec082b1363f616027ce5e33baddbea78 (diff)
[7426] Mounted players now can capture tower point in Eye of Storm. Author: Triply
Renamed function isAllowUseBattleGroundObject to CanUseBattleGroundObject --HG-- branch : trunk
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r--src/game/GameObject.cpp4
1 files changed, 2 insertions, 2 deletions
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();