aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-10-26 23:53:22 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-11-05 11:03:57 +0100
commit748aab737ffde89188d58d25d61636e248fe4c91 (patch)
tree44cd3898a1ff2b45bc312ee9062ff908e2e30f5e /src
parent3decf93235dc5be4fb07e7db5ed04dc18fc06e95 (diff)
Core/SAI: remove wrong DB errors.
It is normal to have events applicable only to certain instance difficulties. Closes #18082. (cherry picked from commit c42e32e7e4eac7f327f489248219f214b0d0d308)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index 58353d29650..ef913387c3c 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -3915,12 +3915,6 @@ void SmartScript::FillScript(SmartAIEventList e, WorldObject* obj, AreaTriggerEn
}
mEvents.push_back((*i));//NOTE: 'world(0)' events still get processed in ANY instance mode
}
- if (mEvents.empty() && obj)
- TC_LOG_ERROR("sql.sql", "SmartScript: Entry %u has events but no events added to list because of instance flags.", obj->GetEntry());
- if (mEvents.empty() && at)
- TC_LOG_ERROR("sql.sql", "SmartScript: AreaTrigger %u has events but no events added to list because of instance flags. NOTE: triggers can not handle any instance flags.", at->ID);
- if (mEvents.empty() && scene)
- TC_LOG_ERROR("sql.sql", "SmartScript: SceneId %u has events but no events added to list because of instance flags. NOTE: scenes can not handle any instance flags.", scene->SceneId);
}
void SmartScript::GetScript()