*/
static void Host_Pause_f (void)
{
+ 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 (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;