This commit is contained in:
Anthony Calosa
2019-09-24 12:11:16 +00:00
committed by Hans Mackowiak
parent 829eae7c97
commit bc5e5a731d
2 changed files with 2 additions and 2 deletions

View File

@@ -544,7 +544,7 @@ public class CardRenderer {
g.drawRect(BORDER_THICKNESS, Color.MAGENTA, cx, cy, cw, ch);
}
//Ability Icons
boolean onbattlefield = card.getZone().equals(ZoneType.Battlefield);
boolean onbattlefield = ZoneType.Battlefield.equals(card.getZone());
float abiY = cy;
float abiX = cx + ((cw*2)/2.3f);
float abiScale = cw / 5.5f;