mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
game_launch: fix start up
This commit is contained in:
parent
dfed24c290
commit
a46e459124
@ -92,11 +92,8 @@ static void Sys_LoadEngine( void )
|
||||
Xash_Error("Unable to load the " XASHLIB ": %s", dlerror() );
|
||||
}
|
||||
|
||||
if(( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Platform_Main" )) == NULL )
|
||||
{
|
||||
// silently ignore absence of platform-specific init
|
||||
}
|
||||
else if(( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Host_Main" )) == NULL )
|
||||
if(( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Platform_Main" )) == NULL &&
|
||||
( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Host_Main" )) == NULL )
|
||||
{
|
||||
Xash_Error( XASHLIB " missed 'Host_Main' export: %s", dlerror() );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user