Added NOAUTOOFFSKULLFLY flag
Disables resetting skullfly and state when velocity is zero while charging.
This commit is contained in:
parent
5bcbe1718b
commit
d527829ee3
3 changed files with 3 additions and 1 deletions
|
|
@ -2105,7 +2105,7 @@ static double P_XYMovement (AActor *mo, DVector2 scroll)
|
|||
|
||||
if (move.isZero())
|
||||
{
|
||||
if (mo->flags & MF_SKULLFLY)
|
||||
if ((mo->flags & MF_SKULLFLY) && !(mo->flags9 & MF9_NOAUTOOFFSKULLFLY))
|
||||
{
|
||||
// the skull slammed into something
|
||||
mo->flags &= ~MF_SKULLFLY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue