]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
sv_ccmds: Remove redundant forwarding code from pause command
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Aug 2020 11:46:43 +0000 (11:46 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Aug 2020 11:46:43 +0000 (11:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12894 d7cf8633-e32d-0410-b094-e92efae38249

sv_ccmds.c

index 51f3eb27c2c265da0d3e1232fa40475b154c18e5..e4fd309deb6c3202c37aadc0a9800b896720fbfd 100644 (file)
@@ -409,15 +409,7 @@ static void SV_Pause_f(cmd_state_t *cmd)
 {
        void (*print) (const char *fmt, ...);
        if (cmd->source == src_command)
-       {
-               // if running a client, try to send over network so the pause is handled by the server
-               if (cls.state == ca_connected)
-               {
-                       CL_ForwardToServer_f(cmd);
-                       return;
-               }
                print = Con_Printf;
-       }
        else
                print = SV_ClientPrintf;