bug 2723
* replaced my cheap hack to search current working dir on OS X with a more complex hack that detects the .app bundle directory structure. This is so the game data dirs do not need to be inside of the .app bundle btw.
This commit is contained in:
parent
e17bea030f
commit
77de9e65a8
2 changed files with 35 additions and 5 deletions
|
@ -2829,10 +2829,6 @@ static void FS_Startup( const char *gameName ) {
|
|||
if (fs_basepath->string[0]) {
|
||||
FS_AddGameDirectory( fs_basepath->string, gameName );
|
||||
}
|
||||
#ifdef MACOS_X
|
||||
// allow .app bundles to be placed along side base dir
|
||||
FS_AddGameDirectory( ".", gameName );
|
||||
#endif
|
||||
// fs_homepath is somewhat particular to *nix systems, only add if relevant
|
||||
// NOTE: same filtering below for mods and basegame
|
||||
if (fs_basepath->string[0] && Q_stricmp(fs_homepath->string,fs_basepath->string)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue