From 09c497bce2e5a924d85ff524f14bdf98fb793f38 Mon Sep 17 00:00:00 2001 From: click Date: Sat, 2 Jun 2012 14:43:07 +0200 Subject: Core/AI: Remove "enforced override"-check in the EventAI-manager in case of AI not being set to EventAI. --- src/server/game/AI/EventAI/CreatureEventAIMgr.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp index 517e55af457..f95645611f1 100755 --- a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp +++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp @@ -740,10 +740,7 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts() if (CreatureTemplate const* cInfo = sObjectMgr->GetCreatureTemplate(itr->first)) { if (cInfo->AIName != "EventAI") - { - sLog->outErrorDb("Creature entry %u has EventAI scripts, but its AIName is not 'EventAI', changing to EventAI", itr->first); - const_cast(cInfo)->AIName = "EventAI"; - } + sLog->outErrorDb("Creature entry %u has EventAI scripts, but its AIName is not 'EventAI' - possible AI-mismatch?", itr->first); } } -- cgit v1.2.3