v0.9.4: fixed combo indicator not changing when hero changes weapon
This commit is contained in:
parent
559a722a89
commit
0661a224a3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user