foxygit / doom Log in
commit 10b519b13da20b264dc633e5af142a5aff447e10
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Fri Jan 6 19:26:02 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Fri Jan 6 19:26:02 2006 +0000

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

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 256
---
 src/doomdef.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/doomdef.h b/src/doomdef.h
index ee599d0a..41691e95 100644
--- 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

 typedef enum
 {
-    sk_baby,
+    sk_noitems = -1,        // the "-skill 0" hack
+    sk_baby = 0,
     sk_easy,
     sk_medium,
     sk_hard,
@@ -373,6 +374,9 @@ typedef enum
 //-----------------------------------------------------------------------------
 //
 // $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.