shithub: choc

Download patch

ref: 10b519b13da20b264dc633e5af142a5aff447e10
parent: 3fcdb6dc1835c87655ae45a1d362dc8b09f6849c
author: Simon Howard <fraggle@gmail.com>
date: Fri Jan 6 14:26:02 EST 2006

Fix the "-skill 0" hack commonly used under DOS

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

--- a/src/doomdef.h
+++ b/src/doomdef.h
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: doomdef.h 237 2006-01-01 23:53:15Z fraggle $
+// $Id: doomdef.h 256 2006-01-06 19:26:02Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -154,7 +154,8 @@
 
 typedef enum
 {
-    sk_baby,
+    sk_noitems = -1,        // the "-skill 0" hack
+    sk_baby = 0,
     sk_easy,
     sk_medium,
     sk_hard,
@@ -373,6 +374,9 @@
 //-----------------------------------------------------------------------------
 //
 // $Log$
+// Revision 1.11  2006/01/06 19:26:02  fraggle
+// Fix the "-skill 0" hack commonly used under DOS
+//
 // Revision 1.10  2006/01/01 23:53:15  fraggle
 // Remove GS_WAITINGSTART gamestate.  This will be independent of the main
 // loop to avoid interfering with the main game code too much.