mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- 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);
|
||||
}
|
||||
|
|
|
@ -109,6 +109,7 @@ clearepisodes
|
|||
episode e1m1
|
||||
{
|
||||
picname = "M_EPI1"
|
||||
name = "Chex Quest"
|
||||
key = "k"
|
||||
}
|
||||
|
||||
|
|
|
@ -21,28 +21,31 @@ clearepisodes
|
|||
episode e1m1
|
||||
{
|
||||
picname = "M_EPI1"
|
||||
name = "Knee-Deep in the Dead"
|
||||
key = "k"
|
||||
}
|
||||
|
||||
episode e2m1
|
||||
{
|
||||
picname = "M_EPI2"
|
||||
name = "The Shores of Hell"
|
||||
key = "t"
|
||||
}
|
||||
|
||||
episode e3m1
|
||||
{
|
||||
picname = "M_EPI3"
|
||||
name = "Inferno"
|
||||
key = "i"
|
||||
}
|
||||
|
||||
episode e4m1
|
||||
{
|
||||
picname = "M_EPI4"
|
||||
name = "Thy Flesh Consumed"
|
||||
key = "t"
|
||||
optional
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Registered/Retail Episode 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue