foxygit / doom Log in
commit 9299576c621d178e8d17a648a36df06e86bc7a97
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat May 19 22:48:39 2007 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat May 19 22:48:39 2007 +0000

    Don't allow idclev in netgames.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 879
---
 src/st_stuff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/st_stuff.c b/src/st_stuff.c
index b82504af..6d502afd 100644
--- a/src/st_stuff.c
+++ b/src/st_stuff.c
@@ -605,7 +605,7 @@ ST_Responder (event_t* ev)
     }

     // 'clev' change-level cheat
-    if (cht_CheckCheat(&cheat_clev, ev->data2))
+    if (!netgame && cht_CheckCheat(&cheat_clev, ev->data2))
     {
       char		buf[3];
       int		epsd;