first blood. 2016.

This commit is contained in:
jeefo 2016-01-01 13:40:39 +03:00
commit 5f457aaf2d

View file

@ -3017,7 +3017,10 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t
// register our cvars
convars.PushRegisteredConVarsToEngine ();
// ensure data & learned directory are created (as we can download waypoints from the net)
#ifdef PLATFORM_ANDROID
// ensure data & learned directory are created (as we can download waypoints from the net), do this
// only under the android platform, in case user forget to install bot extras into the mod directory
const char *path = GetWaypointDir ();
// ensure data path exists
@ -3029,7 +3032,6 @@ DLL_GIVEFNPTRSTODLL GiveFnptrsToDll (enginefuncs_t *functionTable, globalvars_t
// ensure data/learned path exists
CreatePath (learnedPath);
#ifdef PLATFORM_ANDROID
g_gameVersion = CSV_OLD; // temporary, until opensource client dll get BotVoice message
if (g_isMetamod)