mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- 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. SVN r1596 (trunk)
This commit is contained in:
parent
749de6c156
commit
7e69852da9
2 changed files with 7 additions and 2 deletions
|
@ -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
|
- Fixed: SetSoundPaused() still needs to call S_PauseSound() to pause music
|
||||||
that isn't piped through the digital sound system. (Was removed in r1004.)
|
that isn't piped through the digital sound system. (Was removed in r1004.)
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,7 @@ static void FreeSBarInfoScript()
|
||||||
|
|
||||||
void SBarInfo::Load()
|
void SBarInfo::Load()
|
||||||
{
|
{
|
||||||
if(gameinfo.statusbar != NULL)
|
if(gameinfo.statusbar.IsNotEmpty())
|
||||||
{
|
{
|
||||||
int lump = Wads.CheckNumForFullName(gameinfo.statusbar, true);
|
int lump = Wads.CheckNumForFullName(gameinfo.statusbar, true);
|
||||||
if(lump != -1)
|
if(lump != -1)
|
||||||
|
|
Loading…
Reference in a new issue