- Fixed check for embedded WADs again.

SVN r1562 (trunk)
This commit is contained in:
Christoph Oelckers 2009-04-28 21:26:27 +00:00
parent 3bbef315f6
commit edbeab54a0

View file

@ -151,7 +151,7 @@ void FResourceLump::CheckEmbedded()
{
// Checks for embedded archives
const char *c = strstr(FullName, ".wad");
if (c && strlen(c) == 4 && !strchr(Name, '/'))
if (c && strlen(c) == 4 && !strchr(FullName, '/'))
{
// Mark all embedded WADs
Flags |= LUMPF_EMBEDDED;