mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed: P_TestMobjZ() should not let missile shooters block their missiles.
SVN r3571 (trunk)
This commit is contained in:
parent
9c1e03a21b
commit
86842bc1da
2 changed files with 4 additions and 2 deletions
|
@ -1561,6 +1561,10 @@ bool P_TestMobjZ (AActor *actor, bool quick, AActor **pOnmobj)
|
|||
{ // Don't clip against self
|
||||
continue;
|
||||
}
|
||||
if ((actor->flags & MF_MISSILE) && thing == actor->target)
|
||||
{ // Don't clip against whoever shot the missile.
|
||||
continue;
|
||||
}
|
||||
if (actor->z > thing->z+thing->height)
|
||||
{ // over thing
|
||||
continue;
|
||||
|
|
|
@ -1884,8 +1884,6 @@ fixed_t P_XYMovement (AActor *mo, fixed_t scrollx, fixed_t scrolly)
|
|||
goto explode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Reflect the missile along angle
|
||||
mo->angle = angle;
|
||||
angle >>= ANGLETOFINESHIFT;
|
||||
|
|
Loading…
Reference in a new issue