mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
filesystem: don't create full path to rwdir, as cwd is always equal to rwdir
Fixes updating gameinfo.txt.
This commit is contained in:
@@ -1122,7 +1122,7 @@ static qboolean FS_ParseGameInfo( const char *gamedir, gameinfo_t *GameInfo, qbo
|
||||
if( rodir )
|
||||
Q_snprintf( gamedir_path, sizeof( gamedir_path ), "%s/%s", fs_rodir, gamedir );
|
||||
else
|
||||
Q_snprintf( gamedir_path, sizeof( gamedir_path ), "%s/%s", fs_rootdir, gamedir );
|
||||
Q_snprintf( gamedir_path, sizeof( gamedir_path ), "%s", gamedir );
|
||||
|
||||
if( !FS_CheckForXashGameDir( gamedir_path ))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user