- Fixed: wbstartstruct's lump name fields were only 8 characters long
and not properly zero-terminated when all 8 characters were used. - Fixed: Local sound sequence definitions caused a crash because a proper NULL check was missing. SVN r933 (trunk)
This commit is contained in:
parent
4667bfe46f
commit
b129ed3948
5 changed files with 23 additions and 6 deletions
|
|
@ -366,11 +366,18 @@ void S_Start ()
|
|||
if (level.info && level.info->soundinfo)
|
||||
{
|
||||
LocalSndInfo = level.info->soundinfo;
|
||||
LocalSndSeq = level.info->sndseq;
|
||||
}
|
||||
else
|
||||
{
|
||||
LocalSndInfo = "";
|
||||
}
|
||||
|
||||
if (level.info && level.info->sndseq)
|
||||
{
|
||||
LocalSndSeq = level.info->sndseq;
|
||||
}
|
||||
else
|
||||
{
|
||||
LocalSndSeq = "";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue