From 051ae3224f0c46532fa378f94f0c62f52980afd9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 18 Sep 2010 12:37:22 +0000 Subject: [PATCH] - 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) --- src/p_saveg.cpp | 2 +- wadsrc/static/mapinfo/chex.txt | 1 + wadsrc/static/mapinfo/doom1.txt | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/p_saveg.cpp b/src/p_saveg.cpp index 52ebf88d2..7381aaf31 100644 --- a/src/p_saveg.cpp +++ b/src/p_saveg.cpp @@ -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