mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 04:20:29 +00:00
Always show the script name when a script fails to compile
This commit is contained in:
parent
7bf7daa846
commit
a4ce9d6a7f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user