mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
Handle things in a more sensible way
This commit is contained in:
parent
f34ed24132
commit
84755ec171
1 changed files with 1 additions and 5 deletions
|
@ -106,7 +106,7 @@ static UINT16 lumpnumcacheindex = 0;
|
|||
//===========================================================================
|
||||
// GLOBALS
|
||||
//===========================================================================
|
||||
UINT16 numwadfiles; // number of active wadfiles
|
||||
UINT16 numwadfiles = 0; // number of active wadfiles
|
||||
wadfile_t *wadfiles[MAX_WADFILES]; // 0 to numwadfiles-1 are valid
|
||||
|
||||
// W_Shutdown
|
||||
|
@ -859,10 +859,6 @@ INT32 W_InitMultipleFiles(char **filenames)
|
|||
{
|
||||
INT32 rc = 1;
|
||||
|
||||
// open all the files, load headers, and count lumps
|
||||
if (!numwadfiles)
|
||||
numwadfiles = 0;
|
||||
|
||||
// will be realloced as lumps are added
|
||||
for (; *filenames; filenames++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue