]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
allow changelevel to stop demos (necessary for nexuiz menu)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Apr 2006 09:17:21 +0000 (09:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Apr 2006 09:17:21 +0000 (09:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6318 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index a1c427b714b404f7d8ff168b0a0baf3f30bc9a03..8bbaceadecc2a378eeca2ca7bdd958f04049d150 100644 (file)
@@ -319,11 +319,6 @@ void Host_Changelevel_f (void)
                Con_Print("changelevel <levelname> : continue game on a new level\n");
                return;
        }
-       if (cls.demoplayback)
-       {
-               Con_Print("Only the server may changelevel\n");
-               return;
-       }
        // HACKHACKHACK
        if (!sv.active) {
                Host_Map_f();