From edbeab54a0dc970ba010c3a920dab326c2705bcc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 28 Apr 2009 21:26:27 +0000 Subject: [PATCH] - Fixed check for embedded WADs again. SVN r1562 (trunk) --- src/resourcefiles/resourcefile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resourcefiles/resourcefile.cpp b/src/resourcefiles/resourcefile.cpp index 5f36bc68e..4960ce51b 100644 --- a/src/resourcefiles/resourcefile.cpp +++ b/src/resourcefiles/resourcefile.cpp @@ -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;