From cb11bdeed238603b11d8dac4908cfdbabe298079 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Wed, 24 Jun 2020 13:47:01 +0000 Subject: [PATCH] Remove hack in changelevel git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12726 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_ccmds.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sv_ccmds.c b/sv_ccmds.c index f6bb0a67..e4b201b2 100644 --- a/sv_ccmds.c +++ b/sv_ccmds.c @@ -104,9 +104,10 @@ static void SV_Changelevel_f(cmd_state_t *cmd) Con_Print("changelevel : 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; } -- 2.39.2