]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a stupid typo in pausable checking code
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Nov 2011 13:54:55 +0000 (13:54 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Nov 2011 13:54:55 +0000 (13:54 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11579 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index e5d477cb3b15bd117d6078e8698baa107f0f50e1..350cef0ddf9336d26a27cdd046683009d981f9bf 100644 (file)
@@ -1716,7 +1716,7 @@ static void Host_Pause_f (void)
        {
                if (cmd_source == src_client)
                {
        {
                if (cmd_source == src_client)
                {
-                       if(cls.state == ca_dedicated || host_client == &svs.clients[0]) // non-admin
+                       if(cls.state == ca_dedicated || host_client != &svs.clients[0]) // non-admin
                        {
                                print("Pause not allowed.\n");
                                return;
                        {
                                print("Pause not allowed.\n");
                                return;