mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-26 14:10:55 +00:00
Merge pull request #32 from BjossiAlfreds/checkattack
Fixed monsters not changing state when enemy goes away
This commit is contained in:
commit
4c8c98731d
1 changed files with 1 additions and 1 deletions
|
@ -1167,7 +1167,7 @@ ai_checkattack(edict_t *self, float dist)
|
||||||
qboolean hesDeadJim;
|
qboolean hesDeadJim;
|
||||||
qboolean retval;
|
qboolean retval;
|
||||||
|
|
||||||
if (!self || !self->enemy || !self->enemy->inuse)
|
if (!self)
|
||||||
{
|
{
|
||||||
enemy_vis = false;
|
enemy_vis = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue