- 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:
Christoph Oelckers 2008-04-23 23:04:00 +00:00
commit b129ed3948
5 changed files with 23 additions and 6 deletions

View file

@ -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 = "";
}