v0.3.5: fixed glow weirdness in combo indicator
This commit is contained in:
parent
092472bdea
commit
0cc59f6cfa
|
@ -140,7 +140,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
|
||||||
public Image getIcon() {
|
public Image getIcon() {
|
||||||
Image icon;
|
Image icon;
|
||||||
if (((Hero)target).belongings.weapon != null){
|
if (((Hero)target).belongings.weapon != null){
|
||||||
icon = new ItemSprite(Dungeon.hero.belongings.weapon);
|
icon = new ItemSprite(Dungeon.hero.belongings.weapon.image, null);
|
||||||
} else {
|
} else {
|
||||||
icon = new ItemSprite(new Item(){ {image = ItemSpriteSheet.WEAPON; }});
|
icon = new ItemSprite(new Item(){ {image = ItemSpriteSheet.WEAPON; }});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user