sv_main.c: changed a (cls.state != ca_dedicated) condition into (!isDedicated)

so that a server file doesn't use "cls"

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@527 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2011-12-18 09:55:18 +00:00
parent 416d68a861
commit 13e482e911

View file

@ -1235,7 +1235,7 @@ void SV_SendReconnect (void)
MSG_WriteString (&msg, "reconnect\n");
NET_SendToAll (&msg, 5.0);
if (cls.state != ca_dedicated)
if (!isDedicated)
Cmd_ExecuteString ("reconnect\n", src_command);
}