- 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
|
|
@ -1857,6 +1857,10 @@ void G_DoCompleted (void)
|
|||
strncpy (wminfo.lname1, nextinfo->pname, 8);
|
||||
}
|
||||
}
|
||||
wminfo.next[8]=0;
|
||||
wminfo.lname0[8]=0;
|
||||
wminfo.lname1[8]=0;
|
||||
wminfo.current[8]=0;
|
||||
|
||||
CheckWarpTransMap (wminfo.next, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue