commit baf0aa3a5356ea07956608ff43833d6cee6f85ae
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Wed Dec 10 20:20:10 2008 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Wed Dec 10 20:20:10 2008 +0000
Fix crash when playing Doom 1 levels.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1420
---
src/wi_stuff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,