shithub: choc

Download patch

ref: baf0aa3a5356ea07956608ff43833d6cee6f85ae
parent: c04e96584870a9bf95a508937cde224e1d640b7a
author: Simon Howard <[email protected]>
date: Wed Dec 10 15:20:10 EST 2008

Fix crash when playing Doom 1 levels.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1420

--- a/src/wi_stuff.c
+++ b/src/wi_stuff.c
@@ -427,7 +427,7 @@
 {
     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,