]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
compare coop.value instead of coop.integer
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 13 Jul 2003 17:53:50 +0000 (17:53 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 13 Jul 2003 17:53:50 +0000 (17:53 +0000)
(no difference in any mod I know of, but...)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3267 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index 37d27a93d02b60e796c93a352ca8bee2c3013059..b6a23eafcc04a7f928bd9b0431b6008540495a18 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1858,7 +1858,7 @@ void SV_SpawnServer (const char *server)
        ent->v->solid = SOLID_BSP;
        ent->v->movetype = MOVETYPE_PUSH;
 
-       if (coop.integer)
+       if (coop.value)
                pr_global_struct->coop = coop.integer;
        else
                pr_global_struct->deathmatch = deathmatch.integer;