mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- assws PinkSilver's LOF_NOJUMP submission for A_LookEx.
SVN r2626 (trunk)
This commit is contained in:
parent
eb3340e872
commit
cbff41f481
2 changed files with 12 additions and 8 deletions
|
@ -1975,14 +1975,17 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LookEx)
|
|||
|
||||
if (self->target && !(self->flags & MF_INCHASE))
|
||||
{
|
||||
if (seestate)
|
||||
{
|
||||
self->SetState (seestate);
|
||||
}
|
||||
else
|
||||
{
|
||||
self->SetState (self->SeeState);
|
||||
}
|
||||
if (!(flags & LOF_NOJUMP))
|
||||
{
|
||||
if (seestate)
|
||||
{
|
||||
self->SetState (seestate);
|
||||
}
|
||||
else
|
||||
{
|
||||
self->SetState (self->SeeState);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ enum LO_Flags
|
|||
LOF_DONTCHASEGOAL = 4,
|
||||
LOF_NOSEESOUND = 8,
|
||||
LOF_FULLVOLSEESOUND = 16,
|
||||
LOF_NOJUMP = 32,
|
||||
};
|
||||
|
||||
struct FLookExParams
|
||||
|
|
Loading…
Reference in a new issue