Fix console colors not working before an iwad has been selected

This commit is contained in:
Magnus Norddahl 2025-01-06 06:22:31 +01:00
commit 306303b9a6
16 changed files with 268 additions and 127 deletions

View file

@ -55,6 +55,7 @@
#include "thingdef.h"
#include "zcc_parser.h"
#include "zcc_compile_doom.h"
#include "i_interface.h"
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
void InitThingdef();
@ -545,7 +546,7 @@ void LoadActors()
}
timer.Unclock();
if (!batchrun) Printf("script parsing took %.2f ms\n", timer.TimeMS());
if (!batchrun && !RunningAsTool) Printf("script parsing took %.2f ms\n", timer.TimeMS());
// Now we may call the scripted OnDestroy method.
PClass::bVMOperational = true;