diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 2f57ffdbf..24d9fa026 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,9 @@ -May 19, 2009 +May 20, 2009 (Changes by Graf Zahl) +- Fixed: The SBARINFO parser compared an FString in the GAMEINFO with a NULL + pointer and tried to load a lump with an empty name as statusbar script + for non-Doom games. + +May 19, 2009 - Fixed: SetSoundPaused() still needs to call S_PauseSound() to pause music that isn't piped through the digital sound system. (Was removed in r1004.) diff --git a/src/g_shared/sbarinfo_parser.cpp b/src/g_shared/sbarinfo_parser.cpp index 7d59297f9..95bdbb7ba 100644 --- a/src/g_shared/sbarinfo_parser.cpp +++ b/src/g_shared/sbarinfo_parser.cpp @@ -119,7 +119,7 @@ static void FreeSBarInfoScript() void SBarInfo::Load() { - if(gameinfo.statusbar != NULL) + if(gameinfo.statusbar.IsNotEmpty()) { int lump = Wads.CheckNumForFullName(gameinfo.statusbar, true); if(lump != -1)