diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/sys_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c index f58766f1..41045cd4 100644 --- a/src/sys/sys_main.c +++ b/src/sys/sys_main.c @@ -616,6 +616,12 @@ int main( int argc, char **argv ) // Set the initial time base Sys_Milliseconds( ); +#if MACOS_X + // This is passed if we are launched by double-clicking + if ( argc >= 2 && Q_strncmp ( argv[1], "-psn", 4 ) == 0 ) + argc = 1; +#endif + Sys_ParseArgs( argc, argv ); Sys_SetBinaryPath( Sys_Dirname( argv[ 0 ] ) ); Sys_SetDefaultInstallPath( DEFAULT_BASEDIR ); |