mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +00:00
The attack function for brains was missing, add it back.
This was likely lost in some merge or cleanup. Reported by maraakate in issue #8.
This commit is contained in:
parent
cc3b204e5a
commit
76a2d97569
1 changed files with 1 additions and 0 deletions
|
@ -1097,6 +1097,7 @@ SP_monster_brain(edict_t *self)
|
||||||
self->monsterinfo.stand = brain_stand;
|
self->monsterinfo.stand = brain_stand;
|
||||||
self->monsterinfo.walk = brain_walk;
|
self->monsterinfo.walk = brain_walk;
|
||||||
self->monsterinfo.run = brain_run;
|
self->monsterinfo.run = brain_run;
|
||||||
|
self->monsterinfo.attack = brain_attack;
|
||||||
self->monsterinfo.dodge = brain_dodge;
|
self->monsterinfo.dodge = brain_dodge;
|
||||||
self->monsterinfo.melee = brain_melee;
|
self->monsterinfo.melee = brain_melee;
|
||||||
self->monsterinfo.sight = brain_sight;
|
self->monsterinfo.sight = brain_sight;
|
||||||
|
|
Loading…
Reference in a new issue