foxygit / doom Log in
commit 8689bca90396a0ab0cd547c41e65a9efbabd2c9b
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Sep 4 14:55:53 2005 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Sep 4 14:55:53 2005 +0000

    Doom v1.9 doesnt allow cheats in nightmare mode!

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 67
---
 src/st_stuff.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/st_stuff.c b/src/st_stuff.c
index 649f8ea2..1b61953d 100644
--- a/src/st_stuff.c
+++ b/src/st_stuff.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*-
 //-----------------------------------------------------------------------------
 //
-// $Id: st_stuff.c 35 2005-08-04 01:15:10Z fraggle $
+// $Id: st_stuff.c 67 2005-09-04 14:55:53Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.4  2005/09/04 14:55:53  fraggle
+// Doom v1.9 doesnt allow cheats in nightmare mode!
+//
 // Revision 1.3  2005/08/04 01:15:10  fraggle
 // Fix clev cheat
 //
@@ -40,7 +43,7 @@
 //-----------------------------------------------------------------------------

 static const char
-rcsid[] = "$Id: st_stuff.c 35 2005-08-04 01:15:10Z fraggle $";
+rcsid[] = "$Id: st_stuff.c 67 2005-09-04 14:55:53Z fraggle $";


 #include <stdio.h>
@@ -556,11 +559,8 @@ ST_Responder (event_t* ev)
   // if a user keypress...
   else if (ev->type == ev_keydown)
   {
-    if (!netgame)
+    if (!netgame && gameskill != sk_nightmare)
     {
-      // b. - enabled for more debug fun.
-      // if (gameskill != sk_nightmare) {
-
       // 'dqd' cheat for toggleable god mode
       if (cht_CheckCheat(&cheat_god, ev->data1))
       {