- 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:
parent
2e02a4fa36
commit
18af8a57cf
5 changed files with 65 additions and 26 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue