mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-25 01:12:39 +00:00
Get past w_wad.o
This commit is contained in:
parent
7d095060cf
commit
fd5fe916bc
3 changed files with 6 additions and 5 deletions
|
|
@ -5195,8 +5195,10 @@ static void DEH_LoadDehackedFile(MYFILE *f, boolean mainfile)
|
|||
deh_warning("No word in this line: %s", s);
|
||||
} // end while
|
||||
|
||||
/*if (gamedataadded) -- REFRESHDIR_GAMEDATA murdered this
|
||||
G_LoadGameData();*/
|
||||
/* REFRESHDIR_GAMEDATA murdered this
|
||||
if (gamedataadded)
|
||||
G_LoadGameData();
|
||||
*/
|
||||
|
||||
if (gamestate == GS_TITLESCREEN)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -713,7 +713,6 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup)
|
|||
#ifndef NOMD5
|
||||
size_t i;
|
||||
#endif
|
||||
size_t packetsize;
|
||||
UINT8 md5sum[16];
|
||||
boolean important;
|
||||
|
||||
|
|
@ -886,7 +885,7 @@ INT32 W_InitMultipleFiles(char **filenames, boolean addons)
|
|||
G_SetGameModified(true, false);
|
||||
|
||||
//CONS_Debug(DBG_SETUP, "Loading %s\n", *filenames);
|
||||
rc &= (W_InitFile(*filenames, numwadfiles < mainfiles, true) != INT16_MAX) ? 1 : 0;
|
||||
rc &= (W_InitFile(*filenames, !addons, true) != INT16_MAX) ? 1 : 0;
|
||||
}
|
||||
|
||||
if (!numwadfiles)
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup);
|
|||
// W_InitMultipleFiles returns 1 if all is okay, 0 otherwise,
|
||||
// so that it stops with a message if a file was not found, but not if all is okay.
|
||||
// W_InitMultipleFiles exits if a file was not found, but not if all is okay.
|
||||
INT32 W_InitMultipleFiles(char **filenames, UINT16 mainfiles);
|
||||
INT32 W_InitMultipleFiles(char **filenames, boolean addons);
|
||||
|
||||
const char *W_CheckNameForNumPwad(UINT16 wad, UINT16 lump);
|
||||
const char *W_CheckNameForNum(lumpnum_t lumpnum);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue