diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 6cea46022d..77b6a9ba31 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,6 @@ +July 18, 2006 +- Fixed: C_midPrint() needs a NULL status bar check. + July 17, 2006 (Changes by Graf Zahl) - Fixed: PClass::CreateDerivedClass forgot to NULL FActorInfo::Replacee. diff --git a/src/c_console.cpp b/src/c_console.cpp index ec61f6f3f3..591ce5e8cf 100644 --- a/src/c_console.cpp +++ b/src/c_console.cpp @@ -1814,6 +1814,9 @@ static const char logbar[] = "\n<------------------------------->\n"; void C_MidPrint (const char *msg) { + if (StatusBar == NULL) + return; + if (msg) { AddToConsole (-1, bar1);