1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 17:45:32 +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);
}