From 1e1fb54f3ec7f6c26ed76a7ccf6a8f57b458606d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 13 Jun 2020 17:12:22 -0400 Subject: [PATCH] v0.8.1: fixed incorrect combo icon fading after cleave --- .../shatteredpixeldungeon/actors/buffs/Combo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java index 0f1d1a440..67b96ebcf 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java @@ -70,7 +70,7 @@ public class Combo extends Buff implements ActionIndicator.Action { @Override public float iconFadePercent() { - return (4 - comboTime)/4f; + return Math.max(0, (4 - comboTime)/4f); } @Override