From dae8c6cb9c46fd073b04e09eb3df215740c962a7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 14 Dec 2025 04:41:52 +0300 Subject: [PATCH] filesystem: in case of missing/incomplete liblist.gam make c0a0 default start map --- filesystem/filesystem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesystem/filesystem.c b/filesystem/filesystem.c index aff8b544..d3d6fa65 100644 --- a/filesystem/filesystem.c +++ b/filesystem/filesystem.c @@ -758,8 +758,8 @@ static void FS_InitGameInfo( gameinfo_t *GameInfo, const char *gamedir, qboolean else { Q_strncpy( GameInfo->basedir, fs_basedir, sizeof( GameInfo->basedir )); - Q_strncpy( GameInfo->title, "New Game", sizeof( GameInfo->title )); - Q_strncpy( GameInfo->startmap, "newmap", sizeof( GameInfo->startmap )); + Q_strncpy( GameInfo->title, gamedir, sizeof( GameInfo->title )); + Q_strncpy( GameInfo->startmap, "c0a0", sizeof( GameInfo->startmap )); Q_strncpy( GameInfo->dll_path, "cl_dlls", sizeof( GameInfo->dll_path )); Q_strncpy( GameInfo->game_dll, "dlls/hl.dll", sizeof( GameInfo->game_dll )); Q_strncpy( GameInfo->game_dll_linux, "dlls/hl.so", sizeof( GameInfo->game_dll_linux ));