From e846e5e50fc0b4f769a7783be540e5307f2649de Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 27 Sep 2009 02:01:24 +0000 Subject: [PATCH] - idclev and hxvisit are no longer considered cheats, however, they are still invalid for net games. hxvisit was erroneously accepted for net games before, which it shouldn't have, since it's basically idclev for Hexen. SVN r1881 (trunk) --- docs/rh-log.txt | 5 +++++ src/c_cmds.cpp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index f78b398ee..d44d88588 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,8 @@ +September 26, 2009 +- idclev and hxvisit are no longer considered cheats, however, they are still + invalid for net games. hxvisit was erroneously accepted for net games + before, which it shouldn't have, since it's basically idclev for Hexen. + September 24, 2009 - Fixed: "give health" without an amount would set your health to IDDQD health instead of the player class's maximum. diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index ed27e2d27..4e0aa8b32 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -253,7 +253,7 @@ CCMD (chase) CCMD (idclev) { - if (CheckCheatmode () || netgame) + if (netgame) return; if ((argv.argc() > 1) && (*(argv[1] + 2) == 0) && *(argv[1] + 1) && *argv[1]) @@ -291,7 +291,7 @@ CCMD (idclev) CCMD (hxvisit) { - if (CheckCheatmode ()) + if (netgame) return; if ((argv.argc() > 1) && (*(argv[1] + 2) == 0) && *(argv[1] + 1) && *argv[1])