mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 19:40:21 +00:00
Revert "game_launch: fix start up"
This reverts commit a46e459124f5cb4812078c12ef70e13c4cad989b.
This commit is contained in:
parent
4b930c7854
commit
55dbb2ca3f
@ -92,8 +92,11 @@ static void Sys_LoadEngine( void )
|
|||||||
Xash_Error("Unable to load the " XASHLIB ": %s", dlerror() );
|
Xash_Error("Unable to load the " XASHLIB ": %s", dlerror() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if(( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Platform_Main" )) == NULL &&
|
if(( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Platform_Main" )) == NULL )
|
||||||
( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Host_Main" )) == NULL )
|
{
|
||||||
|
// silently ignore absence of platform-specific init
|
||||||
|
}
|
||||||
|
else if(( Xash_Main = (pfnInit)GetProcAddress( hEngine, "Host_Main" )) == NULL )
|
||||||
{
|
{
|
||||||
Xash_Error( XASHLIB " missed 'Host_Main' export: %s", dlerror() );
|
Xash_Error( XASHLIB " missed 'Host_Main' export: %s", dlerror() );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user