2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

Revert "game_launch: check for Platform_Main before Host_Main"

This reverts commit 6aa61657e0.
This commit is contained in:
Alibek Omarov 2019-11-07 05:06:51 +03:00
parent 55dbb2ca3f
commit a51c5d93fc

View File

@ -92,11 +92,7 @@ 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, "Host_Main" )) == NULL )
{
Xash_Error( XASHLIB " missed 'Host_Main' export: %s", dlerror() );
}