P_SpawnMapThing: Ignore MTF_ flags if MT_NIGHTSBUMPER

(cherry picked from commit d85f108997)
This commit is contained in:
mazmazz 2018-03-25 19:42:46 -04:00
parent f8834b0201
commit b666fa3131
1 changed files with 8 additions and 0 deletions

View File

@ -9381,6 +9381,14 @@ ML_NOCLIMB : Direction not controllable
}
}
// ignore MTF_ flags and return early
if (i == MT_NIGHTSBUMPER)
{
mobj->angle = FixedAngle(mthing->angle*FRACUNIT);
mthing->mobj = mobj;
return;
}
mobj->angle = FixedAngle(mthing->angle*FRACUNIT);
if ((mthing->options & MTF_AMBUSH)