From 7396b641ae82adcf5afd2591957ff944b7964203 Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 26 Sep 2009 16:01:30 -0700 Subject: *Gundrak: GO Handling & Slad Ran script by Tartalo *Cleanup, and don't consider creatures to be in combat if they have no victim, or if their victim is a GM. --HG-- branch : trunk --- src/game/CreatureEventAIMgr.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/game/CreatureEventAIMgr.cpp') diff --git a/src/game/CreatureEventAIMgr.cpp b/src/game/CreatureEventAIMgr.cpp index 901ec541455..5325edff4a9 100644 --- a/src/game/CreatureEventAIMgr.cpp +++ b/src/game/CreatureEventAIMgr.cpp @@ -147,13 +147,14 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Summons() //Add to map m_CreatureEventAI_Summon_Map[i] = temp; ++Count; - }while (result->NextRow()); + } while (result->NextRow()); delete result; sLog.outString(); sLog.outString(">> Loaded %u CreatureEventAI summon definitions", Count); - }else + } + else { barGoLink bar(1); bar.step(); @@ -728,7 +729,8 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts() sLog.outString(); sLog.outString(">> Loaded %u CreatureEventAI scripts", Count); - }else + } + else { barGoLink bar(1); bar.step(); -- cgit v1.2.3