- assws PinkSilver's LOF_NOJUMP submission for A_LookEx.

SVN r2626 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-28 20:22:35 +00:00
parent eb3340e872
commit cbff41f481
2 changed files with 12 additions and 8 deletions

View file

@ -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);
}
}
}
}

View file

@ -32,6 +32,7 @@ enum LO_Flags
LOF_DONTCHASEGOAL = 4,
LOF_NOSEESOUND = 8,
LOF_FULLVOLSEESOUND = 16,
LOF_NOJUMP = 32,
};
struct FLookExParams