v0.9.4: fixed combo indicator not changing when hero changes weapon

This commit is contained in:
Evan Debenham 2021-07-09 17:17:43 -04:00
parent 559a722a89
commit 0661a224a3

View File

@ -28,6 +28,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Talent;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.ui.ActionIndicator;
import com.shatteredpixel.shatteredpixeldungeon.utils.BArray;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.watabou.noosa.audio.Sample;
@ -56,6 +57,7 @@ abstract public class KindOfWeapon extends EquipableItem {
hero.belongings.weapon = this;
activate( hero );
Talent.onItemEquipped(hero, this);
ActionIndicator.updateIcon();
updateQuickslot();
cursedKnown = true;