Cleaning up various debug prints.
This commit is contained in:
parent
852e2bfec0
commit
1a0b5b6d07
7 changed files with 62 additions and 57 deletions
|
|
@ -215,6 +215,9 @@ extend Class SWWMStatusBar
|
|||
{
|
||||
// ignore outside of levels
|
||||
if ( gamestate != GS_LEVEL ) return false;
|
||||
// discard if the console is active
|
||||
// (helps when using debug commands that print a lot of text)
|
||||
if ( consolestate != c_up ) return true;
|
||||
int rprintlevel = printlevel&PRINT_TYPES;
|
||||
// treat any unrecognized levels as critical messages
|
||||
// note that checking for PRINT_LOG isn't needed as those are skipped early in the C++ side
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue