From 535ff46e9b1889021d6c7e6a56b697de3edafa8a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 20 Jul 2003 04:38:31 +0000 Subject: [PATCH] flush when PREFSMAN->m_bDebugMode --- stepmania/src/RageLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageLog.cpp b/stepmania/src/RageLog.cpp index a98e246185..6195703fea 100644 --- a/stepmania/src/RageLog.cpp +++ b/stepmania/src/RageLog.cpp @@ -202,7 +202,7 @@ void RageLog::Write( int where, CString str) #ifdef DEBUG Flush(); #else - if(where & WRITE_TO_INFO) + if( (PREFSMAN && PREFSMAN->m_bDebugMode) || (where & WRITE_TO_INFO) ) Flush(); #endif }