From 18ae54f656964c84470d3467cade96752fca1c16 Mon Sep 17 00:00:00 2001 From: tmyqlfpir <80724828+tmyqlfpir@users.noreply.github.com> Date: Mon, 21 Aug 2023 02:33:11 +1000 Subject: [PATCH] Fix footsteps with combat boost --- src/game/footstep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/footstep.c b/src/game/footstep.c index 1c3a228f9..f75c3d06a 100644 --- a/src/game/footstep.c +++ b/src/game/footstep.c @@ -178,7 +178,7 @@ void footstepCheckDefault(struct chrdata *chr) } } else { #ifndef PLATFORM_N64 // fix spamming footsteps for 60fps port - if (lvGetSlowMotionType() != SLOWMOTION_OFF && g_Vars.speedpillon == false) { + if ((lvGetSlowMotionType() != SLOWMOTION_OFF && g_Vars.speedpillon == false) || (lvGetSlowMotionType() == SLOWMOTION_OFF && g_Vars.speedpillon == true)) { s32 roundedframe = (s32)(frame*2); if (roundedframe == (g_FootstepAnims[i].frame1*2) && prevframe < g_FootstepAnims[i].frame1) { chr->footstep = 1;