- Restored savegame compatibility that was removed in r3427.

SVN r3435 (trunk)
This commit is contained in:
Randy Heit 2012-03-13 02:43:24 +00:00
commit 58f7e72d1b
8 changed files with 128 additions and 34 deletions

View file

@ -326,9 +326,18 @@ void P_SerializeWorld (FArchive &arc)
for (i = 0, sec = sectors; i < numsectors; i++, sec++)
{
arc << sec->floorplane
<< sec->ceilingplane
<< sec->lightlevel
<< sec->special
<< sec->ceilingplane;
if (SaveVersion < 3223)
{
BYTE bytelight;
arc << bytelight;
sec->lightlevel = bytelight;
}
else
{
arc << sec->lightlevel;
}
arc << sec->special
<< sec->tag
<< sec->soundtraversed
<< sec->seqType