Merge pull request #33 from BjossiAlfreds/checkattack

Fixed monsters not changing state after enemy goes away
This commit is contained in:
Yamagi 2019-09-26 14:15:51 +02:00 committed by GitHub
commit 4a0dcfface
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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