Merge pull request #32 from BjossiAlfreds/checkattack

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

View File

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