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:
Yamagi Burmeister 2017-03-13 14:32:00 +01:00
parent cc3b204e5a
commit 76a2d97569

View file

@ -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;