mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 14:52:06 +00:00
Merge pull request #33 from BjossiAlfreds/checkattack
Fixed monsters not changing state after enemy goes away
This commit is contained in:
commit
4a0dcfface
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue