From 3dab43cbcc151d9e110883fa337630c8796cb6d9 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 15 Feb 2026 23:58:10 -0500 Subject: [PATCH] Rumble on wall hit --- src/g_input.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/g_input.c b/src/g_input.c index 14f75950e..1e1881fde 100644 --- a/src/g_input.c +++ b/src/g_input.c @@ -712,7 +712,12 @@ void G_ControllerRumbleTick(void) continue; } - if (player->spinouttimer) + if (player->mo->eflags & MFE_JUSTBOUNCEDWALL) + { + high = RUMBLE_STRONG; + low = RUMBLE_MODERATE; + } + else if (player->spinouttimer) { //low = high = FRACUNIT / 6; low = high = FixedMul((RUMBLE_VERYSTRONG), (FixedDiv(player->spinouttimer, (3*TICRATE / 2)))); // try do some some kinda fadeout, 3*TICRATE / 2 is the "default" spinout time