mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +00:00
Fix typo in ai_checkattack() leading to monsters running in place
this is the fix from yquake2/#151
This commit is contained in:
parent
6034d77bbe
commit
d1e811bd5b
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ ai_checkattack(edict_t *self, float dist)
|
||||||
VectorCopy(self->enemy->s.origin, self->monsterinfo.last_sighting);
|
VectorCopy(self->enemy->s.origin, self->monsterinfo.last_sighting);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coop && (self->monsterinfo.search_time < level.time))
|
if (coop && coop->value && (self->monsterinfo.search_time < level.time))
|
||||||
{
|
{
|
||||||
if (FindTarget(self))
|
if (FindTarget(self))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue