mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Forgot to check if the file was important, whoops!
This commit is contained in:
parent
972c8da4bb
commit
8b6450fa4d
1 changed files with 2 additions and 1 deletions
|
|
@ -776,7 +776,8 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup)
|
|||
if (!memcmp(wadfiles[i]->md5sum, md5sum, 16))
|
||||
{
|
||||
CONS_Alert(CONS_ERROR, M_GetText("%s is already loaded\n"), filename);
|
||||
packetsizetally -= nameonlylength(filename) + 22;
|
||||
if (important)
|
||||
packetsizetally -= nameonlylength(filename) + 22;
|
||||
if (handle)
|
||||
fclose(handle);
|
||||
return W_InitFileError(filename, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue