pushed old commit

This commit is contained in:
jeefo 2015-12-17 09:57:41 +03:00
commit 3113935751
3 changed files with 10 additions and 9 deletions

View file

@ -100,7 +100,7 @@ void BotManager::CallGameEntity (entvars_t *vars)
static EntityPtr_t playerFunction = NULL;
if (playerFunction == NULL)
playerFunction = (EntityPtr_t) g_gameLib->GetFunctionAddr ("player");
playerFunction = g_gameLib->GetFuncAddr <EntityPtr_t> ("player");
if (playerFunction != NULL)
(*playerFunction) (vars);