mirror of
https://github.com/yquake2/xatrix.git
synced 2025-04-25 11:21:03 +00:00
Fixed triggered spawn monsters not using path_corner markers
This commit is contained in:
parent
e69a347852
commit
579e43a11b
1 changed files with 12 additions and 6 deletions
|
@ -1131,12 +1131,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
|
||||
|
@ -1174,12 +1176,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
|
||||
|
@ -1213,12 +1217,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