Fixes Android Build.
This commit is contained in:
parent
5f6a1638d6
commit
71fb7cea45
1 changed files with 4 additions and 4 deletions
|
|
@ -3068,14 +3068,14 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t
|
|||
|
||||
g_gameLib = new Library (gameDLLName);
|
||||
|
||||
if (!g_gameLib->IsLoaded ()) {
|
||||
logEntry (true, LL_FATAL | LL_IGNORE, "Unable to load gamedll \"%s\". Exiting... (gamedir: %s)", gameDLLName, engine.GetModName ());
|
||||
if (!g_gameLib->isValid ()) {
|
||||
logEntry (true, LL_FATAL | LL_IGNORE, "Unable to load gamedll \"%s\". Exiting... (gamedir: %s)", gameDLLName, engine.getModName ());
|
||||
delete g_gameLib;
|
||||
}
|
||||
#else
|
||||
g_gameLib = LoadCSBinary ();
|
||||
{
|
||||
if (g_gameLib == nullptr && !(g_gameFlags & GAME_METAMOD)) {
|
||||
if (!g_gameLib && !(g_gameFlags & GAME_METAMOD)) {
|
||||
logEntry (true, LL_FATAL | LL_IGNORE, "Mod that you has started, not supported by this bot (gamedir: %s)", engine.getModName ());
|
||||
return;
|
||||
}
|
||||
|
|
@ -3352,4 +3352,4 @@ LINK_ENTITY (weapon_usp)
|
|||
LINK_ENTITY (weapon_xm1014)
|
||||
LINK_ENTITY (weaponbox)
|
||||
LINK_ENTITY (world_items)
|
||||
LINK_ENTITY (worldspawn)
|
||||
LINK_ENTITY (worldspawn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue