summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Greffrath2014-02-24 09:34:04 +0100
committerFabian Greffrath2014-02-24 09:34:04 +0100
commitb8fd310fc155b969346265601a48c21faec2ecf9 (patch)
treea5c081bbebc9bc664f732d557024e857e6f153f2
parent79f8427436cf2da7de710e9046f2e01dc6c8b17e (diff)
downloadchocolate-doom-b8fd310fc155b969346265601a48c21faec2ecf9.tar.gz
chocolate-doom-b8fd310fc155b969346265601a48c21faec2ecf9.tar.bz2
chocolate-doom-b8fd310fc155b969346265601a48c21faec2ecf9.zip
Keep (bfgedition) as part of the check for TITLEPIC.
-rw-r--r--src/doom/d_main.c3
1 files changed, 2 insertions, 1 deletions
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");
}