engine: launcher: drop support for changing games from within internal launcher for platforms that do not have execv equivalent
This commit is contained in:
parent
2d1e76199b
commit
88949a9ee6
1 changed files with 1 additions and 5 deletions
|
@ -37,11 +37,7 @@ static char **szArgv;
|
||||||
|
|
||||||
static void Sys_ChangeGame( const char *progname )
|
static void Sys_ChangeGame( const char *progname )
|
||||||
{
|
{
|
||||||
// a1ba: may never be called within engine
|
// stub
|
||||||
// if platform supports execv() function
|
|
||||||
Q_strncpy( szGameDir, progname, sizeof( szGameDir ));
|
|
||||||
Host_Shutdown( );
|
|
||||||
exit( Host_Main( szArgc, szArgv, szGameDir, 1, &Sys_ChangeGame ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int Sys_Start( void )
|
static int Sys_Start( void )
|
||||||
|
|
Loading…
Add table
Reference in a new issue