mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Handle things in a more sensible way
This commit is contained in:
parent
4a74f92c17
commit
77fca822c4
1 changed files with 1 additions and 5 deletions
|
|
@ -106,7 +106,7 @@ static UINT16 lumpnumcacheindex = 0;
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
// GLOBALS
|
// 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
|
wadfile_t *wadfiles[MAX_WADFILES]; // 0 to numwadfiles-1 are valid
|
||||||
|
|
||||||
// W_Shutdown
|
// W_Shutdown
|
||||||
|
|
@ -859,10 +859,6 @@ INT32 W_InitMultipleFiles(char **filenames)
|
||||||
{
|
{
|
||||||
INT32 rc = 1;
|
INT32 rc = 1;
|
||||||
|
|
||||||
// open all the files, load headers, and count lumps
|
|
||||||
if (!numwadfiles)
|
|
||||||
numwadfiles = 0;
|
|
||||||
|
|
||||||
// will be realloced as lumps are added
|
// will be realloced as lumps are added
|
||||||
for (; *filenames; filenames++)
|
for (; *filenames; filenames++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue