mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: launcher: drop support for changing games from within internal launcher for platforms that do not have execv equivalent
This commit is contained in:
@@ -37,11 +37,7 @@ static char **szArgv;
|
||||
|
||||
static void Sys_ChangeGame( const char *progname )
|
||||
{
|
||||
// a1ba: may never be called within engine
|
||||
// if platform supports execv() function
|
||||
Q_strncpy( szGameDir, progname, sizeof( szGameDir ));
|
||||
Host_Shutdown( );
|
||||
exit( Host_Main( szArgc, szArgv, szGameDir, 1, &Sys_ChangeGame ) );
|
||||
// stub
|
||||
}
|
||||
|
||||
static int Sys_Start( void )
|
||||
|
||||
Reference in New Issue
Block a user