From 3f840222eeb3379f09a6cf31336e53985ade91bf Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Fri, 24 Jun 2011 16:34:12 +0400 Subject: [PATCH] [11669] Remove script use with EventAI check. It's not problem if script not have own AI part. --- src/game/CreatureEventAIMgr.cpp | 3 --- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/game/CreatureEventAIMgr.cpp b/src/game/CreatureEventAIMgr.cpp index 667a5841f..c27531750 100644 --- a/src/game/CreatureEventAIMgr.cpp +++ b/src/game/CreatureEventAIMgr.cpp @@ -826,9 +826,6 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts() sLog.outErrorDb("CreatureEventAI: EventAI not has script for creature entry (%u), but AIName = '%s'.", i, cInfo->AIName); else if (!ainame && hasevent) sLog.outErrorDb("CreatureEventAI: EventAI has script for creature entry (%u), but AIName = '%s' instead 'EventAI'.", i, cInfo->AIName); - - if (hasevent && cInfo->ScriptID && !sLog.HasLogFilter(LOG_FILTER_DB_STRICTED_CHECK)) - sLog.outErrorDb("CreatureEventAI: EventAI has script for creature entry (%u), but it have associated library script: %s.", i, sScriptMgr.GetScriptName(cInfo->ScriptID)); } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 84e9e4687..9b4095a63 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11668" + #define REVISION_NR "11669" #endif // __REVISION_NR_H__