aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGround.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-04 16:09:01 -0500
committermegamage <none@none>2009-06-04 16:09:01 -0500
commit87aa7465fb2a5bb853bd75400ca947e71e076a49 (patch)
tree062a38b67449f80e3c8198f3f3d8587c2fbfeed3 /src/game/BattleGround.cpp
parentf6447e8f34c28785f605e2ae0882c24799d34456 (diff)
*A missing part of previous patch.
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGround.cpp')
-rw-r--r--src/game/BattleGround.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index c14d399e3f1..3fd554c5163 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -1843,7 +1843,7 @@ void BattleGround::SetHoliday(bool is_holiday)
int32 BattleGround::GetObjectType(uint64 guid)
{
- for(uint32 i = 0;i <= m_BgObjects.size(); i++)
+ for(uint32 i = 0; i < m_BgObjects.size(); ++i)
if(m_BgObjects[i] == guid)
return i;
sLog.outError("BattleGround: cheating? a player used a gameobject which isnt supposed to be a usable object!");