Added is3DFloor parameter to SpecialBounceHit
Allows for better plane bounce handling e.g. flipping the normal.
This commit is contained in:
parent
047e1e8b74
commit
567a180d2b
4 changed files with 8 additions and 8 deletions
|
|
@ -3608,7 +3608,7 @@ bool FSlide::BounceWall(AActor *mo)
|
|||
|
||||
if (mo->flags & MF_MISSILE)
|
||||
{
|
||||
switch (mo->SpecialBounceHit(nullptr, line, nullptr))
|
||||
switch (mo->SpecialBounceHit(nullptr, line, nullptr, false))
|
||||
{
|
||||
case 1: return true;
|
||||
case 0: return false;
|
||||
|
|
@ -3708,7 +3708,7 @@ bool P_BounceActor(AActor *mo, AActor *BlockingMobj, bool ontop)
|
|||
default: break;
|
||||
}
|
||||
|
||||
switch (mo->SpecialBounceHit(BlockingMobj, nullptr, nullptr))
|
||||
switch (mo->SpecialBounceHit(BlockingMobj, nullptr, nullptr, false))
|
||||
{
|
||||
case 1: return true;
|
||||
case 0: return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue