v0.5.0: quickslot targeting indicator now always appears ontop of character sprites
This commit is contained in:
parent
6beae11e03
commit
c2aaae4549
|
@ -175,7 +175,7 @@ public class QuickSlotButton extends Button implements WndBag.Listener {
|
|||
Dungeon.visible[lastTarget.pos]) {
|
||||
|
||||
targeting = true;
|
||||
lastTarget.sprite.parent.add( crossM );
|
||||
lastTarget.sprite.parent.addToFront( crossM );
|
||||
crossM.point( DungeonTilemap.tileToWorld( lastTarget.pos ) );
|
||||
crossB.x = x + (width - crossB.width) / 2;
|
||||
crossB.y = y + (height - crossB.height) / 2;
|
||||
|
|
Loading…
Reference in New Issue
Block a user