- Restored the previous level flag values to avoid needlessly breaking some

savegames at this point in time.
- Fixed: R_ClearPlanes() did not clear skybox planes for a full clear.
- Streamlined zip file loading by delaying the processing of the local file
  header until it is actually needed.


SVN r247 (trunk)
This commit is contained in:
Randy Heit 2006-07-12 03:35:55 +00:00
commit 18af8a57cf
5 changed files with 65 additions and 26 deletions

View file

@ -456,9 +456,10 @@ extern int ConBottom;
void R_ClearPlanes (bool fullclear)
{
int i;
for (i = 0; i < MAXVISPLANES; i++) // new code -- killough
int i, max;
max = fullclear ? MAXVISPLANES : MAXVISPLANES-1;
for (i = 0; i <= max; i++) // new code -- killough
for (*freehead = visplanes[i], visplanes[i] = NULL; *freehead; )
freehead = &(*freehead)->next;