diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-10-04 20:24:58 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-10-04 20:24:58 +0200 |
commit | ef92d31c49d6a55d1c33454bb50bb621dfad7137 (patch) | |
tree | 4345967d73ec28b31f836357b5db18f7ef22ec5d | |
parent | d08862a7928707258f8741d7cb368b4622abc08e (diff) |
Revert "Core/SAI: Added new error for is using other script as sai"
This reverts commit d08862a7928707258f8741d7cb368b4622abc08e.
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index 76937fcd7af..ce8eed02b7e 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -156,10 +156,6 @@ void SmartAIMgr::LoadSmartAIFromDB() TC_LOG_ERROR("sql.sql", "SmartAIMgr::LoadSmartAIFromDB: Creature entry (%u) is not using SmartAI, skipped loading.", uint32(temp.entryOrGuid)); continue; } - - std::string scriptName = sObjectMgr->GetScriptName(creatureInfo->ScriptID); - if (!scriptName.empty()) - TC_LOG_ERROR("sql.sql", "SmartAIMgr::LoadSmartAIFromDB: Creature entry (%u) is using other script", uint32(temp.entryOrGuid)); break; } case SMART_SCRIPT_TYPE_GAMEOBJECT: @@ -215,10 +211,6 @@ void SmartAIMgr::LoadSmartAIFromDB() TC_LOG_ERROR("sql.sql", "SmartAIMgr::LoadSmartAIFromDB: Creature entry (%u) guid (%u) is not using SmartAI, skipped loading.", creature->id, uint32(abs(temp.entryOrGuid))); continue; } - - std::string scriptName = sObjectMgr->GetScriptName(creatureInfo->ScriptID); - if (!scriptName.empty()) - TC_LOG_ERROR("sql.sql", "SmartAIMgr::LoadSmartAIFromDB: Creature entry (%u) guid (%u) is using other script", creature->id, uint32(abs(temp.entryOrGuid))); } temp.source_type = source_type; |