diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfRecharging.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfRecharging.java index 570e6216b..2b59492b6 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfRecharging.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfRecharging.java @@ -74,7 +74,7 @@ public class ScrollOfRecharging extends Scroll { @Override public int icon() { - return BuffIndicator.CHARGE; + return BuffIndicator.RECHARGING; } @Override @@ -88,7 +88,7 @@ public class ScrollOfRecharging extends Scroll { //if this buff is still attached, must instead directly check its remaining time, and act accordingly. //otherwise this causes inconsistent behaviour where this may detach before, or after, a wand charger acts. public float remainder() { - return Math.min( 1f, this.cooldown()); + return Math.min(1f, this.cooldown()); } } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java b/src/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java index 138a9452c..f7672942e 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java @@ -67,7 +67,7 @@ public class BuffIndicator extends Component { public static final int THORNS = 31; public static final int FORESIGHT = 32; public static final int VERTIGO = 33; - public static final int CHARGE = 34; + public static final int RECHARGING = 34; public static final int LOCKED_FLOOR= 35; public static final int SIZE = 7;