- Fixed: P_TestMobjZ() should not let missile shooters block their missiles.

SVN r3571 (trunk)
This commit is contained in:
Randy Heit 2012-04-19 02:50:43 +00:00
commit 86842bc1da
2 changed files with 4 additions and 2 deletions

View file

@ -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;