mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strncmp(header.identification, "IWAD", 4) ||
|
if (strncmp(header.identification, "IWAD", 4) &&
|
||||||
strncmp(header.identification, "PWAD", 4))
|
strncmp(header.identification, "PWAD", 4))
|
||||||
{
|
{
|
||||||
fclose(file);
|
fclose(file);
|
||||||
@ -957,7 +957,7 @@ static boolean FileContainsMaps(const char *filename)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strncmp(header.identification, "IWAD", 4) ||
|
if (strncmp(header.identification, "IWAD", 4) &&
|
||||||
strncmp(header.identification, "PWAD", 4))
|
strncmp(header.identification, "PWAD", 4))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user