*A missing part of previous patch.
--HG-- branch : trunk
This commit is contained in:
@@ -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!");
|
||||
|
||||
+1
-1
@@ -1197,7 +1197,7 @@ void Group::_setLeader(const uint64 &guid)
|
||||
|
||||
void Group::_removeRolls(const uint64 &guid)
|
||||
{
|
||||
for (Rolls::iterator it = RollId.begin(); it < RollId.end(); ++it)
|
||||
for (Rolls::iterator it = RollId.begin(); it != RollId.end(); ++it)
|
||||
{
|
||||
Roll* roll = *it;
|
||||
Roll::PlayerVote::iterator itr2 = roll->playerVote.find(guid);
|
||||
|
||||
Reference in New Issue
Block a user