[chocolate-doom] 61/83: Doom v1.9 doesnt allow cheats in nightmare mode!
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.
commit 8689bca90396a0ab0cd547c41e65a9efbabd2c9b
Author: Simon Howard <fraggle at gmail.com>
Date: 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 649f8ea..1b61953 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))
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git
More information about the Pkg-games-commits
mailing list