mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +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) \
|
#define MUSICTEST(str) \
|
||||||
{\
|
{\
|
||||||
const char *musicpath = va(pandf,srb2waddir,str);\
|
const char *musicpath = va(pandf,srb2waddir,str);\
|
||||||
int ms = W_VerifyNMUSlumps(musicpath); \
|
int ms = W_VerifyNMUSlumps(musicpath, false); \
|
||||||
if (ms == 1) \
|
if (ms == 1) \
|
||||||
D_AddFile(startupiwads, musicpath); \
|
D_AddFile(startupiwads, musicpath); \
|
||||||
else if (ms == 0) \
|
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)
|
if ((handle = W_OpenWadFile(&filename, true)) == NULL)
|
||||||
return W_InitFileError(filename, startup);
|
return W_InitFileError(filename, startup);
|
||||||
|
|
||||||
important = !W_VerifyNMUSlumps(filename);
|
important = W_VerifyNMUSlumps(filename, startup);
|
||||||
|
|
||||||
|
if (important == -1)
|
||||||
|
{
|
||||||
|
fclose(handle);
|
||||||
|
return INT16_MAX;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifndef NOMD5
|
#ifndef NOMD5
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue