mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 19:41:29 +00:00
Conflicts da7e79ac83 d5688f53a0
This commit is contained in:
parent
1ce3a7dd56
commit
6cb0e9667d
2 changed files with 9 additions and 2 deletions
|
|
@ -1070,7 +1070,7 @@ static void IdentifyVersion(void)
|
|||
#define MUSICTEST(str) \
|
||||
{\
|
||||
const char *musicpath = va(pandf,srb2waddir,str);\
|
||||
int ms = W_VerifyNMUSlumps(musicpath); \
|
||||
int ms = W_VerifyNMUSlumps(musicpath, false); \
|
||||
if (ms == 1) \
|
||||
D_AddFile(startupiwads, musicpath); \
|
||||
else if (ms == 0) \
|
||||
|
|
|
|||
|
|
@ -747,7 +747,14 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup)
|
|||
if ((handle = W_OpenWadFile(&filename, true)) == NULL)
|
||||
return W_InitFileError(filename, startup);
|
||||
|
||||
important = !W_VerifyNMUSlumps(filename);
|
||||
important = W_VerifyNMUSlumps(filename, startup);
|
||||
|
||||
if (important == -1)
|
||||
{
|
||||
fclose(handle);
|
||||
return INT16_MAX;
|
||||
}
|
||||
|
||||
|
||||
#ifndef NOMD5
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue