- Added a 'resetinventory' MAPINFO option.
- Added MF6_NOFEAR flag. - Added A_MonsterRefire(probability, jumptarget). - Added A_JumpIfTargetInSight(state) action function. - Changed: Puffs set their angle to face the originator of the attack. - Strife's burning hands originally make the level view fullbright. changed in ZDoom to do partial brightening. SVN r1642 (trunk)
This commit is contained in:
parent
3ba96a470b
commit
476e0bce2a
11 changed files with 86 additions and 8 deletions
|
|
@ -724,11 +724,14 @@ void P_NewChaseDir(AActor * actor)
|
|||
deltax = actor->target->x - actor->x;
|
||||
deltay = actor->target->y - actor->y;
|
||||
|
||||
if ((actor->target->player != NULL && (actor->target->player->cheats & CF_FRIGHTENING)) ||
|
||||
(actor->flags4 & MF4_FRIGHTENED))
|
||||
if (!(actor->flags6 & MF6_NOFEAR))
|
||||
{
|
||||
deltax = -deltax;
|
||||
deltay = -deltay;
|
||||
if ((actor->target->player != NULL && (actor->target->player->cheats & CF_FRIGHTENING)) ||
|
||||
(actor->flags4 & MF4_FRIGHTENED))
|
||||
{
|
||||
deltax = -deltax;
|
||||
deltay = -deltay;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue