mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-10 12:01:43 +00:00
sv_main.c: changed a (cls.state != ca_dedicated) condition into (!isDedicated)
so that a server file doesn't use "cls" git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@527 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
3402524888
commit
5b9d317733
1 changed files with 1 additions and 1 deletions
|
@ -1235,7 +1235,7 @@ void SV_SendReconnect (void)
|
||||||
MSG_WriteString (&msg, "reconnect\n");
|
MSG_WriteString (&msg, "reconnect\n");
|
||||||
NET_SendToAll (&msg, 5.0);
|
NET_SendToAll (&msg, 5.0);
|
||||||
|
|
||||||
if (cls.state != ca_dedicated)
|
if (!isDedicated)
|
||||||
Cmd_ExecuteString ("reconnect\n", src_command);
|
Cmd_ExecuteString ("reconnect\n", src_command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue