mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
- Implicitly set MF2_PASSMOBJ when BounceType is used in an actor definition so that actors under
or above the bouncer can be checked for bouncing. SVN r3597 (trunk)
This commit is contained in:
parent
01dacce549
commit
70902d9da8
1 changed files with 5 additions and 0 deletions
|
@ -951,6 +951,11 @@ DEFINE_PROPERTY(bouncetype, S, Actor)
|
|||
}
|
||||
defaults->BounceFlags &= ~(BOUNCE_TypeMask | BOUNCE_UseSeeSound);
|
||||
defaults->BounceFlags |= flags[match];
|
||||
if (defaults->BounceFlags & (BOUNCE_Actors | BOUNCE_AllActors))
|
||||
{
|
||||
// PASSMOBJ is irrelevant for normal missiles, but not for bouncers.
|
||||
defaults->flags2 |= MF2_PASSMOBJ;
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue