mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
fix previous commit
This commit is contained in:
parent
8b487b1ced
commit
5adc01c272
@ -864,7 +864,7 @@ static void CheckIWAD(const char *iwadname)
|
||||
return;
|
||||
}
|
||||
|
||||
if (strncmp(header.identification, "IWAD", 4) ||
|
||||
if (strncmp(header.identification, "IWAD", 4) &&
|
||||
strncmp(header.identification, "PWAD", 4))
|
||||
{
|
||||
fclose(file);
|
||||
@ -957,7 +957,7 @@ static boolean FileContainsMaps(const char *filename)
|
||||
break;
|
||||
}
|
||||
|
||||
if (strncmp(header.identification, "IWAD", 4) ||
|
||||
if (strncmp(header.identification, "IWAD", 4) &&
|
||||
strncmp(header.identification, "PWAD", 4))
|
||||
{
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user