This isn't needed. It's already checked at this point.

This commit is contained in:
Major Cooke 2016-08-09 16:25:53 -05:00 committed by Christoph Oelckers
parent 7ffccd0009
commit 9dd458030e
1 changed files with 0 additions and 2 deletions

View File

@ -5911,7 +5911,6 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
doPass = true; doPass = true;
} }
else if (((flags & RGF_ITEMS) && thing->IsKindOf(RUNTIME_CLASS(AInventory))) || else if (((flags & RGF_ITEMS) && thing->IsKindOf(RUNTIME_CLASS(AInventory))) ||
((flags & RGF_MISSILES) && thing->flags & MF_MISSILE) ||
((flags & RGF_CORPSES) && thing->flags & MF_CORPSE) || ((flags & RGF_CORPSES) && thing->flags & MF_CORPSE) ||
((flags & RGF_KILLED) && thing->flags6 & MF6_KILLED)) ((flags & RGF_KILLED) && thing->flags6 & MF6_KILLED))
{ {
@ -5980,7 +5979,6 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
if (doPass) if (doPass)
{ {
DVector3 diff = self->Vec3To(thing); DVector3 diff = self->Vec3To(thing);
diff.Z += thing->Height *0.5; diff.Z += thing->Height *0.5;
if (flags & RGF_CUBE) if (flags & RGF_CUBE)