Fix monsters not changing state after enemy goes away

This commit is contained in:
BjossiAlfreds 2019-09-25 20:01:56 +00:00
parent 0286cdcd0b
commit 0bea4d9f44

View file

@ -948,7 +948,7 @@ ai_checkattack(edict_t *self)
vec3_t temp;
qboolean hesDeadJim;
if (!self || !self->enemy || !self->enemy->inuse)
if (!self)
{
enemy_vis = false;