pushed old commit
This commit is contained in:
parent
6c93b75f34
commit
3113935751
3 changed files with 10 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue