filesystem: don't create full path to rwdir, as cwd is always equal to rwdir
Fixes updating gameinfo.txt.
This commit is contained in:
parent
c5649c94d5
commit
154df00f94
1 changed files with 1 additions and 1 deletions
|
@ -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 ))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue