mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- let P_CheckMissileSpawn also clear MF2_PCROSS before checking the move.
This commit is contained in:
parent
15df231a95
commit
8c053c0141
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue