summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2005-09-04 14:55:53 +0000
committerSimon Howard2005-09-04 14:55:53 +0000
commit8689bca90396a0ab0cd547c41e65a9efbabd2c9b (patch)
treee6e517cf1516e0c00da45251b455fb30236cd2fe /src
parent4fcb2575e748bdff1f219da8051844c31254f19a (diff)
downloadchocolate-doom-8689bca90396a0ab0cd547c41e65a9efbabd2c9b.tar.gz
chocolate-doom-8689bca90396a0ab0cd547c41e65a9efbabd2c9b.tar.bz2
chocolate-doom-8689bca90396a0ab0cd547c41e65a9efbabd2c9b.zip
Doom v1.9 doesnt allow cheats in nightmare mode!
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 67
Diffstat (limited to 'src')
-rw-r--r--src/st_stuff.c12
1 files 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))
{