- 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
|
|
@ -47,11 +47,11 @@ typedef struct wbstartstruct_s
|
|||
int finished_ep;
|
||||
int next_ep;
|
||||
|
||||
char current[8]; // [RH] Name of map just finished
|
||||
char next[8]; // next level, [RH] actual map name
|
||||
char current[9]; // [RH] Name of map just finished
|
||||
char next[9]; // next level, [RH] actual map name
|
||||
|
||||
char lname0[8];
|
||||
char lname1[8];
|
||||
char lname0[9];
|
||||
char lname1[9];
|
||||
|
||||
int maxkills;
|
||||
int maxitems;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue