mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-21 19:31:13 +00:00
Merge pull request #452 from BjossiAlfreds/monster-viewheight-bugfix
Full bugfix for monsters not fighting parasites
This commit is contained in:
commit
cf742c0228
2 changed files with 9 additions and 2 deletions
|
@ -996,7 +996,10 @@ flymonster_start_go(edict_t *self)
|
|||
self->yaw_speed = 10;
|
||||
}
|
||||
|
||||
self->viewheight = 25;
|
||||
if (!self->viewheight)
|
||||
{
|
||||
self->viewheight = 25;
|
||||
}
|
||||
|
||||
monster_start_go(self);
|
||||
|
||||
|
@ -1032,7 +1035,10 @@ swimmonster_start_go(edict_t *self)
|
|||
self->yaw_speed = 10;
|
||||
}
|
||||
|
||||
self->viewheight = 10;
|
||||
if (!self->viewheight)
|
||||
{
|
||||
self->viewheight = 10;
|
||||
}
|
||||
|
||||
monster_start_go(self);
|
||||
|
||||
|
|
|
@ -764,6 +764,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