- Fixed: The UDMF loader did not initialize the sectors' sectornum property.

SVN r1767 (trunk)
This commit is contained in:
Randy Heit 2009-08-11 00:22:43 +00:00
parent 74bdfe19c5
commit da33f333a1
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,7 @@
August 10, 2009 (Changes by Graf Zahl) August 10, 2009
- Fixed: The UDMF loader did not initialize the sectors' sectornum property.
August 10, 2009 (Changes by Graf Zahl)
- Fixed: The true color texture compositing code did not clip the edges - Fixed: The true color texture compositing code did not clip the edges
of multipatch textures used as patches on other multipatch textures. of multipatch textures used as patches on other multipatch textures.

View file

@ -1020,6 +1020,7 @@ struct UDMFParser
sec->nextsec = -1; //jff 2/26/98 add fields to support locking out sec->nextsec = -1; //jff 2/26/98 add fields to support locking out
sec->prevsec = -1; // stair retriggering until build completes sec->prevsec = -1; // stair retriggering until build completes
sec->heightsec = NULL; // sector used to get floor and ceiling height sec->heightsec = NULL; // sector used to get floor and ceiling height
sec->sectornum = index;
if (floordrop) sec->Flags = SECF_FLOORDROP; if (floordrop) sec->Flags = SECF_FLOORDROP;
// killough 3/7/98: end changes // killough 3/7/98: end changes