P_SpawnMapThing: Ignore MTF_ flags if MT_NIGHTSBUMPER

This commit is contained in:
mazmazz 2018-03-25 19:42:46 -04:00
parent dc9fd6f02e
commit d85f108997

View file

@ -10261,6 +10261,14 @@ domaceagain:
}
}
// 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)