diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/CreatureEventAIMgr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/CreatureEventAIMgr.cpp b/src/game/CreatureEventAIMgr.cpp index 3e6c2822759..5ac08400804 100644 --- a/src/game/CreatureEventAIMgr.cpp +++ b/src/game/CreatureEventAIMgr.cpp @@ -544,6 +544,9 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts() //Add to list m_CreatureEventAI_Event_Map[creature_id].push_back(temp); ++Count; + + if(cInfo->AIName == "") + const_cast<CreatureInfo*>(cInfo)->AIName = "EventAI"; } while (result->NextRow()); delete result; |