engine: client: hack mobile API init because of incorrectly defined export in hlsdk-portable
This commit is contained in:
parent
7a469fb481
commit
790f9bde54
1 changed files with 6 additions and 0 deletions
|
@ -132,9 +132,15 @@ qboolean Mobile_Init( void )
|
|||
}
|
||||
|
||||
// make sure that mobile functions are cleared
|
||||
#if 1
|
||||
// some SDKs define export as returning void, breaking the contract
|
||||
// ignore result for now...
|
||||
return true;
|
||||
#else
|
||||
memset( &mobile_engfuncs, 0, sizeof( mobile_engfuncs ));
|
||||
|
||||
return false; // just tell user about problems
|
||||
#endif
|
||||
}
|
||||
|
||||
return true; // mobile interface is missed
|
||||
|
|
Loading…
Add table
Reference in a new issue