- Fixed: RGF_ITEMS wasn't considered a part of the RGF_MASK flag.

This commit is contained in:
MajorCooke 2016-07-14 09:27:29 -05:00
parent 5c182c7fd7
commit 59593e57c6

View file

@ -5669,7 +5669,9 @@ enum RadiusGiveFlags
RGF_MONSTERS | RGF_MONSTERS |
RGF_OBJECTS | RGF_OBJECTS |
RGF_VOODOO | RGF_VOODOO |
RGF_CORPSES | RGF_MISSILES, RGF_CORPSES |
RGF_MISSILES |
RGF_ITEMS,
}; };
static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amount, double distance, int flags, PClassActor *filter, FName species, double mindist) static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amount, double distance, int flags, PClassActor *filter, FName species, double mindist)
@ -5681,7 +5683,7 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
if (!(flags & RGF_GIVESELF)) if (!(flags & RGF_GIVESELF))
return false; return false;
} }
else if (thing->flags & MF_MISSILE) if (thing->flags & MF_MISSILE)
{ {
if (!missilePass) if (!missilePass)
return false; return false;