r484 broke arrows for Abilities in the stack. Fixed.

This commit is contained in:
magenoxx 2010-12-09 11:06:51 +00:00
parent 168c8dc294
commit 55eba04697
2 changed files with 12 additions and 1 deletions

View file

@ -102,7 +102,7 @@ public class MageActionCallback implements ActionCallback {
Point parent = SwingUtilities.getRoot(data.component).getLocationOnScreen();
Point me = new Point(data.locationOnScreen);
me.translate(-parent.x, -parent.y);
UUID uuid = data.card.getId();
UUID uuid = data.card.getParentId();
for (PlayAreaPanel pa : session.getGame().getPlayers().values()) {
MagePermanent permanent = pa.getBattlefieldPanel().getPermanents().get(uuid);
if (permanent != null) {