Fixed bouncing on 3D floors (#2835)

This commit is contained in:
Boondorl 2024-11-26 03:43:09 -05:00 committed by Rachael Alexanderson
commit 488d4f0c71
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
5 changed files with 31 additions and 15 deletions

View file

@ -1851,8 +1851,9 @@ DEFINE_ACTION_FUNCTION(AActor, BouncePlane)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_POINTER(plane, secplane_t);
PARAM_BOOL(is3DFloor);
ACTION_RETURN_BOOL(self->FloorBounceMissile(*plane));
ACTION_RETURN_BOOL(self->FloorBounceMissile(*plane, is3DFloor));
}
DEFINE_ACTION_FUNCTION(AActor, PlayBounceSound)