- fixed: The subsector serializing code accessed the subsector array before validating the index.
- added episode names to episode definitions of Doom 1 and Chex Quest. SVN r2820 (trunk)
This commit is contained in:
parent
eb031d73e7
commit
051ae3224f
3 changed files with 7 additions and 3 deletions
|
|
@ -590,7 +590,7 @@ void P_SerializeSubsectors(FArchive &arc)
|
|||
by = 0;
|
||||
for(int j=0;j<8;j++)
|
||||
{
|
||||
if ((subsectors[i+j].flags & SSECF_DRAWN) && i+j<numsubsectors)
|
||||
if (i+j<numsubsectors && (subsectors[i+j].flags & SSECF_DRAWN))
|
||||
{
|
||||
by |= (1<<j);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue