mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Fix typo in ai_checkattack() leading to monsters running in place
this fixes #151
This commit is contained in:
parent
1a05d19d17
commit
10a8dfa388
1 changed files with 2 additions and 1 deletions
|
@ -1060,7 +1060,8 @@ ai_checkattack(edict_t *self)
|
|||
VectorCopy(self->enemy->s.origin, self->monsterinfo.last_sighting);
|
||||
}
|
||||
|
||||
if (coop && (self->monsterinfo.search_time < level.time))
|
||||
/* look for other coop players here */
|
||||
if (coop->value && (self->monsterinfo.search_time < level.time))
|
||||
{
|
||||
if (FindTarget(self))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue