From: havoc Date: Tue, 27 May 2014 21:23:33 +0000 (+0000) Subject: change the isserver builtin to just return sv.active rather than X-Git-Tag: xonotic-v0.8.1~29^2~82 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fe9fa4139094a17309ff4cba71631e1617d4ad07;p=xonotic%2Fdarkplaces.git change the isserver builtin to just return sv.active rather than checking maxclients and dedicated git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12078 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 3b8a629d..8e476383 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -2793,7 +2793,7 @@ void VM_isserver(prvm_prog_t *prog) { VM_SAFEPARMCOUNT(0,VM_serverstate); - PRVM_G_FLOAT(OFS_RETURN) = sv.active && (svs.maxclients > 1 || cls.state == ca_dedicated); + PRVM_G_FLOAT(OFS_RETURN) = sv.active; } /*