mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[12066] Optimize some parts for ++C
This commit is contained in:
parent
ba86b02dd4
commit
3707b04330
48 changed files with 163 additions and 163 deletions
|
|
@ -1691,7 +1691,7 @@ void BattleGround::HandleTriggerBuff(ObjectGuid go_guid)
|
|||
// TODO this can be done when poolsystem works for instances
|
||||
int32 index = m_BgObjects.size() - 1;
|
||||
while (index >= 0 && m_BgObjects[index] != go_guid)
|
||||
index--;
|
||||
--index;
|
||||
if (index < 0)
|
||||
{
|
||||
sLog.outError("BattleGround (Type: %u) has buff trigger %s GOType: %u but it hasn't that object in its internal data",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue