*A missing part of previous patch.
--HG-- branch : trunk
This commit is contained in:
1 parent
f6447e8f34
commit
87aa7465fb
3 files changed
+4
-4
No files matched your search
@@ -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!");
|
||||
|
||||
Reference in new issue
Block a user