Fixed path calc for extras on Mac

This commit is contained in:
Tom Kidd
2025-01-26 13:08:35 -06:00
committed by Alibek Omarov
parent 92dc04ff3c
commit 3ca413dbab

View File

@@ -86,7 +86,7 @@ void SDLash_Init( const char *basedir )
{
char buf[MAX_VA_STRING];
Q_snprintf( buf, sizeof( buf ), "%s%s/extras.pk3", basedir, path );
Q_snprintf( buf, sizeof( buf ), "%s%s/extras.pk3", path, basedir );
setenv( "XASH3D_EXTRAS_PAK1", buf, true );
}
#endif