Fix footsteps with combat boost

This commit is contained in:
tmyqlfpir authored and GitHub committed 2023-08-21 02:33:11 +10:00
1 parent f6fb534035
commit 18ae54f656
1 file changed
+1 -1
+1 -1
View File
@@ -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;