From: divverent Date: Sat, 26 Nov 2011 13:54:55 +0000 (+0000) Subject: fix a stupid typo in pausable checking code X-Git-Tag: xonotic-v0.6.0~102^2~40 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=0b47029ddeac51c9062d2a82803159266007c851 fix a stupid typo in pausable checking code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11579 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index e5d477cb..350cef0d 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -1716,7 +1716,7 @@ static void Host_Pause_f (void) { 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;