1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

disable warnings by default in script verifier

This commit is contained in:
Marc Zinnschlag 2014-02-15 12:58:34 +01:00
parent 0d84adb2c6
commit 2130ec39d6

View File

@ -51,6 +51,9 @@ void CSMTools::ScriptCheckStage::report (const std::string& message, Type type)
CSMTools::ScriptCheckStage::ScriptCheckStage (const CSMWorld::Data& data)
: mData (data), mContext (data), mMessages (0)
{
/// \todo add an option to configure warning mode
setWarningsMode (0);
Compiler::registerExtensions (mExtensions);
mContext.setExtensions (&mExtensions);
}