- let P_CheckMissileSpawn also clear MF2_PCROSS before checking the move.

This commit is contained in:
Christoph Oelckers 2017-06-08 09:00:03 +02:00
parent 15df231a95
commit 8c053c0141
1 changed files with 1 additions and 1 deletions

View File

@ -6758,7 +6758,7 @@ bool P_CheckMissileSpawn (AActor* th, double maxdist)
// killough 3/15/98: no dropoff (really = don't care for missiles) // killough 3/15/98: no dropoff (really = don't care for missiles)
auto oldf2 = th->flags2; auto oldf2 = th->flags2;
th->flags2 &= ~MF2_MCROSS; // The following check is not supposed to activate missile triggers. th->flags2 &= ~(MF2_MCROSS|MF2_PCROSS); // The following check is not supposed to activate missile triggers.
if (!(P_TryMove (th, newpos, false, NULL, tm, true))) if (!(P_TryMove (th, newpos, false, NULL, tm, true)))
{ {
// [RH] Don't explode ripping missiles that spawn inside something // [RH] Don't explode ripping missiles that spawn inside something