summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2008-12-10 20:20:10 +0000
committerSimon Howard2008-12-10 20:20:10 +0000
commitbaf0aa3a5356ea07956608ff43833d6cee6f85ae (patch)
tree8d549e4bed72e6fba100f1dffc3d043a46d3758a
parentc04e96584870a9bf95a508937cde224e1d640b7a (diff)
downloadchocolate-doom-baf0aa3a5356ea07956608ff43833d6cee6f85ae.tar.gz
chocolate-doom-baf0aa3a5356ea07956608ff43833d6cee6f85ae.tar.bz2
chocolate-doom-baf0aa3a5356ea07956608ff43833d6cee6f85ae.zip
Fix crash when playing Doom 1 levels.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1420
-rw-r--r--src/wi_stuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wi_stuff.c b/src/wi_stuff.c
index 238462de..5e87069e 100644
--- a/src/wi_stuff.c
+++ b/src/wi_stuff.c
@@ -427,7 +427,7 @@ void WI_drawLF(void)
{
int y = WI_TITLEY;
- if (wbs->last < NUMCMAPS)
+ if (gamemode != commercial || wbs->last < NUMCMAPS)
{
// draw <LevelName>
V_DrawPatch((SCREENWIDTH - SHORT(lnames[wbs->last]->width))/2,