mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- Fixed: RGF_ITEMS wasn't considered a part of the RGF_MASK flag.
This commit is contained in:
parent
5c182c7fd7
commit
59593e57c6
1 changed files with 4 additions and 2 deletions
|
@ -5669,7 +5669,9 @@ enum RadiusGiveFlags
|
|||
RGF_MONSTERS |
|
||||
RGF_OBJECTS |
|
||||
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)
|
||||
|
@ -5681,7 +5683,7 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
|
|||
if (!(flags & RGF_GIVESELF))
|
||||
return false;
|
||||
}
|
||||
else if (thing->flags & MF_MISSILE)
|
||||
if (thing->flags & MF_MISSILE)
|
||||
{
|
||||
if (!missilePass)
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue