From 0cb0479b136a275d6c31a7bc68d9634564503433 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 31 May 2020 00:11:05 +1000 Subject: [PATCH] Don't crash the game if a "nasty" -game name is rejected, matches behavior of missing -game name --- fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs.c b/fs.c index 590a336c..72004d79 100644 --- a/fs.c +++ b/fs.c @@ -2159,7 +2159,7 @@ void FS_Init (void) i++; p = FS_CheckGameDir(com_argv[i]); if(!p) - Sys_Error("Nasty -game name rejected: %s", com_argv[i]); + Con_Printf("WARNING: Nasty -game name rejected: %s\n", com_argv[i]); if(p == fs_checkgamedir_missing) Con_Warnf("WARNING: -game %s%s/ not found!\n", fs_basedir, com_argv[i]); // add the gamedir to the list of active gamedirs -- 2.39.2