Xatrix bugfix for monsters not fighting back against parasites

This commit is contained in:
BjossiAlfreds 2019-09-14 08:45:49 +00:00
parent cfb3e7abf0
commit e216dda6cc
3 changed files with 10 additions and 2 deletions

View file

@ -1169,7 +1169,10 @@ flymonster_start_go(edict_t *self)
self->yaw_speed = 10;
}
if (!self->viewheight)
{
self->viewheight = 25;
}
monster_start_go(self);
@ -1205,7 +1208,10 @@ swimmonster_start_go(edict_t *self)
self->yaw_speed = 10;
}
if (!self->viewheight)
{
self->viewheight = 10;
}
monster_start_go(self);

View file

@ -1614,6 +1614,7 @@ SP_monster_fixbot(edict_t *self)
self->health = 150;
self->mass = 150;
self->viewheight = 16;
self->pain = fixbot_pain;
self->die = fixbot_die;

View file

@ -734,6 +734,7 @@ SP_monster_parasite(edict_t *self)
self->health = 175;
self->gib_health = -50;
self->mass = 250;
self->viewheight = 16;
self->pain = parasite_pain;
self->die = parasite_die;