]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Correct the value of CMD_SHARED. Fixes map command
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 14 Jun 2020 13:15:38 +0000 (13:15 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 14 Jun 2020 13:15:38 +0000 (13:15 +0000)
...and other CMD_SHARED commands.

Updated the bitmasks but forgot to update the value of CMD_SHARED to
reflect the change. The client can only see CMD_CLIENT commands.
It was only adding to CMD_SERVER. Oops.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12669 d7cf8633-e32d-0410-b094-e92efae38249

cmd.h

diff --git a/cmd.h b/cmd.h
index 6c12c626cf1807e9b5417fe3d5132a896392dc6b..9b0046b0701919709761ec9d9a10bc0c47435d0e 100644 (file)
--- a/cmd.h
+++ b/cmd.h
@@ -50,7 +50,7 @@ struct cmd_state_s;
 #define CMD_CHEAT                              (1<<6)
 
 
-#define CMD_SHARED 6
+#define CMD_SHARED 3
 
 typedef void(*xcommand_t) (struct cmd_state_s *cmd);