diff options
| author | maximius <none@none> | 2009-09-26 16:01:30 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-09-26 16:01:30 -0700 |
| commit | 7396b641ae82adcf5afd2591957ff944b7964203 (patch) | |
| tree | b6d54ca311e779ae4e77b569b9a367dc26a4938a /src/game/CreatureEventAIMgr.cpp | |
| parent | ff3f556423bc90f8476c8b09bacb60cd621b2664 (diff) | |
*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
Diffstat (limited to 'src/game/CreatureEventAIMgr.cpp')
| -rw-r--r-- | src/game/CreatureEventAIMgr.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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(); |
