commit b8fd310fc155b969346265601a48c21faec2ecf9
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Feb 24 09:34:04 2014 +0100
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Feb 24 09:34:04 2014 +0100
Keep (bfgedition) as part of the check for TITLEPIC.
---
src/doom/d_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 75c9328c..3badb4ad 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -576,7 +576,8 @@ void D_DoAdvanceDemo (void)
// The Doom 3: BFG Edition version of doom2.wad does not have a
// TITLETPIC lump. Use INTERPIC instead as a workaround.
- if (!strcasecmp(pagename, "TITLEPIC") && W_CheckNumForName("titlepic") < 0)
+ if (bfgedition && !strcasecmp(pagename, "TITLEPIC")
+ && W_CheckNumForName("titlepic") < 0)
{
pagename = DEH_String("INTERPIC");
}