Skip to content

Commit

Permalink
Make followers act out of client's PVS
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed May 7, 2022
1 parent 097263f commit df8e7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/schedule.cpp
Expand Up @@ -373,7 +373,7 @@ void CBaseMonster::RunTask(Task_t* pTask)
}
case TASK_WAIT_PVS:
{
if (!FNullEnt(FIND_CLIENT_IN_PVS(edict())))
if (!FNullEnt(FIND_CLIENT_IN_PVS(edict())) || (m_hTargetEnt != 0 && m_hTargetEnt->IsPlayer()))
{
TaskComplete();
}
Expand Down

0 comments on commit df8e7ff

Please sign in to comment.