* Face Down cards - Fixed that cards played face down (e.g. Morph) stayed wrongly face down when going to another zone.

This commit is contained in:
LevelX2 2014-08-29 15:29:08 +02:00
parent 56917609be
commit b679699ea1
2 changed files with 4 additions and 1 deletions

View file

@ -41,6 +41,7 @@ import mage.Mana;
import mage.abilities.Ability;
import mage.abilities.PlayLandAbility;
import mage.abilities.SpellAbility;
import mage.abilities.common.ZoneChangeAllTriggeredAbility;
import mage.abilities.mana.ManaAbility;
import mage.constants.CardType;
import mage.constants.Rarity;
@ -338,6 +339,9 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
}
game.rememberLKI(objectId, event.getFromZone(), this);
}
if (isFaceDown() && !event.getToZone().equals(Zone.BATTLEFIELD)) { // to battlefield is possible because of Morph
setFaceDown(false);
}
updateZoneChangeCounter();
switch (event.getToZone()) {
case GRAVEYARD:

View file

@ -35,7 +35,6 @@ import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import mage.MageObject;
import mage.abilities.Ability;