v0.3.5: fixed glow weirdness in combo indicator

This commit is contained in:
Evan Debenham 2016-04-30 23:09:14 -04:00
parent 092472bdea
commit 0cc59f6cfa

View File

@ -140,7 +140,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
public Image getIcon() {
Image icon;
if (((Hero)target).belongings.weapon != null){
icon = new ItemSprite(Dungeon.hero.belongings.weapon);
icon = new ItemSprite(Dungeon.hero.belongings.weapon.image, null);
} else {
icon = new ItemSprite(new Item(){ {image = ItemSpriteSheet.WEAPON; }});
}