mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 08:44:25 +00:00
mainwads is inclusive
This commit is contained in:
parent
161d4480e6
commit
161125fc83
2 changed files with 2 additions and 3 deletions
|
|
@ -1600,7 +1600,7 @@ void D_SRB2Main(void)
|
|||
#ifndef DEVELOP
|
||||
// Check MD5s of autoloaded files
|
||||
// Note: Do not add any files that ignore MD5!
|
||||
mainwads++; W_VerifyFileMD5(mainwads, ASSET_HASH_BIOS_PK3); // bios.pk3
|
||||
W_VerifyFileMD5(mainwads, ASSET_HASH_BIOS_PK3); // bios.pk3
|
||||
#ifdef USE_PATCH_FILE
|
||||
mainwads++; W_VerifyFileMD5(mainwads, ASSET_HASH_PATCH_PK3); // patch.pk3
|
||||
#endif
|
||||
|
|
@ -1615,7 +1615,6 @@ void D_SRB2Main(void)
|
|||
mainwads++; W_VerifyFileMD5(mainwads, ASSET_HASH_STAFFGHOSTS_PK3); // staffghosts.pk3
|
||||
mainwads++; W_VerifyFileMD5(mainwads, ASSET_HASH_SHADERS_PK3); // shaders.pk3
|
||||
#else
|
||||
mainwads++; // bios.pk3
|
||||
#ifdef USE_PATCH_FILE
|
||||
mainwads++; // scripts.pk3
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ static std::vector<std::string> get_sources_from_glsllist_lump(const char* lumpn
|
|||
{
|
||||
std::string shaderspk3 = "shaders.pk3";
|
||||
INT32 shaderwadnum = -1;
|
||||
for (INT32 wadnum = 0; wadnum < mainwads; wadnum++)
|
||||
for (INT32 wadnum = 0; wadnum <= mainwads; wadnum++)
|
||||
{
|
||||
std::string wadname = std::string(wadfiles[wadnum]->filename);
|
||||
if (wadname.find(shaderspk3) != std::string::npos)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue