1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 00:06:42 +00:00

Always show the script name when a script fails to compile

This commit is contained in:
scrawl 2014-06-20 23:56:21 +02:00
parent 7bf7daa846
commit a4ce9d6a7f

View file

@ -64,12 +64,12 @@ namespace MWScript
Success = false;
}
if (!Success && mVerbose)
if (!Success)
{
std::cerr
<< "compiling failed: " << name << std::endl
<< script->mScriptText
<< std::endl << std::endl;
<< "compiling failed: " << name << std::endl;
if (mVerbose)
std::cerr << script->mScriptText << std::endl << std::endl;
}
if (Success)