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)
This commit is contained in:
SnapperRy
2017-11-05 11:03:57 +01:00
committed by joschiwald
parent 3decf93235
commit 748aab737f
@@ -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()