P_SpawnMapThing: Ignore MTF_ flags if MT_NIGHTSBUMPER

(cherry picked from commit d85f108997bfeca3e0b1731c1aad70617456400b)
This commit is contained in:
mazmazz 2018-03-25 19:42:46 -04:00
parent f8834b0201
commit b666fa3131

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)