Added is3DFloor parameter to SpecialBounceHit

Allows for better plane bounce handling e.g. flipping the normal.
This commit is contained in:
Boondorl 2025-02-10 14:11:27 -05:00 committed by Ricardo Luís Vaz Silva
commit 567a180d2b
4 changed files with 8 additions and 8 deletions

View file

@ -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;