- Fixed transferring from Support animation.

This commit is contained in:
marcins78@gmail.com
2011-10-18 20:18:23 +00:00
parent 1092eab159
commit 4cbc795ebc
2 changed files with 4 additions and 4 deletions

View File

@@ -278,10 +278,9 @@ public class GameState {
} }
public void transferCard(PhysicalCard card, PhysicalCard transferTo) { public void transferCard(PhysicalCard card, PhysicalCard transferTo) {
if (card.getZone() != Zone.ATTACHED) { if (card.getZone() != Zone.ATTACHED)
removeCardsFromZone(Collections.singleton(card)); ((PhysicalCardImpl) card).setZone(Zone.ATTACHED);
addCardToZone(card, Zone.ATTACHED);
}
((PhysicalCardImpl) card).attachTo((PhysicalCardImpl) transferTo); ((PhysicalCardImpl) card).attachTo((PhysicalCardImpl) transferTo);
for (GameStateListener listener : getAllGameStateListeners()) for (GameStateListener listener : getAllGameStateListeners())
listener.cardMoved(card); listener.cardMoved(card);

View File

@@ -6,6 +6,7 @@
- Added revealing effect to all cards, for now the revealed cards will be only shown in the log, until I figure out - Added revealing effect to all cards, for now the revealed cards will be only shown in the log, until I figure out
something better. something better.
- Fixed "Trapped and Alone" and all other cards that remove keyword bonuses granted by other cards. - Fixed "Trapped and Alone" and all other cards that remove keyword bonuses granted by other cards.
- Fixed the animation for "Black Breath" and other cards transferring from Support zone.
<b>17 Oct. 2011</b> <b>17 Oct. 2011</b>
- "Coming for the Ring" is no longed considered Free People card by the game. - "Coming for the Ring" is no longed considered Free People card by the game.