engine: move {gamedir}/downloaded directory to {gamedir}_downloads for compatibility

Some mods like Sven-Coop 4.8 stupidly open game files directly and need this to
load downloaded soundcache.
This commit is contained in:
Alibek Omarov
2026-05-05 04:10:33 +05:00
committed by a1batross
parent e6a44b70e0
commit 086cb6aab8
6 changed files with 46 additions and 28 deletions

View File

@@ -58,7 +58,7 @@ static inline const char *IdToDir( char *dir, size_t size, const char *id )
if( !Q_strcmp( id, "GAMEDOWNLOAD" ))
{
Q_snprintf( dir, size, "%s/" DEFAULT_DOWNLOADED_DIRECTORY , GI->gamefolder );
Q_snprintf( dir, size, "%s" DEFAULT_DOWNLOADED_DIRECTORY_SUFFIX, GI->gamefolder );
return dir;
}