shithub: choc

Download patch

ref: 9299576c621d178e8d17a648a36df06e86bc7a97
parent: 64c188aa8ea658f3ea623990a50f68af4e6e618d
author: Simon Howard <fraggle@gmail.com>
date: Sat May 19 18:48:39 EDT 2007

Don't allow idclev in netgames.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 879

--- a/src/st_stuff.c
+++ b/src/st_stuff.c
@@ -605,7 +605,7 @@
     }
     
     // 'clev' change-level cheat
-    if (cht_CheckCheat(&cheat_clev, ev->data2))
+    if (!netgame && cht_CheckCheat(&cheat_clev, ev->data2))
     {
       char		buf[3];
       int		epsd;