]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Remove hack in changelevel
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Jun 2020 13:47:01 +0000 (13:47 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Jun 2020 13:47:01 +0000 (13:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12726 d7cf8633-e32d-0410-b094-e92efae38249

sv_ccmds.c

index f6bb0a67230eb2050f61a05d3a7c0695b9f3b253..e4b201b2033c60d4a383a472c5b145851032d2a6 100644 (file)
@@ -104,9 +104,10 @@ static void SV_Changelevel_f(cmd_state_t *cmd)
                Con_Print("changelevel <levelname> : continue game on a new level\n");
                return;
        }
-       // HACKHACKHACK
-       if (!sv.active) {
-               SV_Map_f(cmd);
+
+       if (!sv.active)
+       {
+               Con_Printf("You must be running a server to changelevel. Use 'map %s' instead\n", Cmd_Argv(cmd, 1));
                return;
        }