mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
Merge pull request #459 from BjossiAlfreds/pathcorner
Triggered spawned monsters use path_corner correctly
This commit is contained in:
commit
a942ca4bba
1 changed files with 12 additions and 6 deletions
|
@ -958,12 +958,14 @@ walkmonster_start_go(edict_t *self)
|
|||
self->viewheight = 25;
|
||||
}
|
||||
|
||||
monster_start_go(self);
|
||||
|
||||
if (self->spawnflags & 2)
|
||||
{
|
||||
monster_triggered_start(self);
|
||||
}
|
||||
else
|
||||
{
|
||||
monster_start_go(self);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1001,12 +1003,14 @@ flymonster_start_go(edict_t *self)
|
|||
self->viewheight = 25;
|
||||
}
|
||||
|
||||
monster_start_go(self);
|
||||
|
||||
if (self->spawnflags & 2)
|
||||
{
|
||||
monster_triggered_start(self);
|
||||
}
|
||||
else
|
||||
{
|
||||
monster_start_go(self);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1040,12 +1044,14 @@ swimmonster_start_go(edict_t *self)
|
|||
self->viewheight = 10;
|
||||
}
|
||||
|
||||
monster_start_go(self);
|
||||
|
||||
if (self->spawnflags & 2)
|
||||
{
|
||||
monster_triggered_start(self);
|
||||
}
|
||||
else
|
||||
{
|
||||
monster_start_go(self);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue