mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-23 20:42:24 +00:00
This isn't needed. It's already checked at this point.
This commit is contained in:
parent
7ffccd0009
commit
9dd458030e
1 changed files with 0 additions and 2 deletions
|
@ -5911,7 +5911,6 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
|
|||
doPass = true;
|
||||
}
|
||||
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_KILLED) && thing->flags6 & MF6_KILLED))
|
||||
{
|
||||
|
@ -5980,7 +5979,6 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
|
|||
|
||||
if (doPass)
|
||||
{
|
||||
|
||||
DVector3 diff = self->Vec3To(thing);
|
||||
diff.Z += thing->Height *0.5;
|
||||
if (flags & RGF_CUBE)
|
||||
|
|
Loading…
Reference in a new issue