mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 14:52:06 +00:00
Xatrix bugfix for monsters not fighting back against parasites
This commit is contained in:
parent
cfb3e7abf0
commit
e216dda6cc
3 changed files with 10 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue