* Fixed handling of morphed cards in exile zone.

This commit is contained in:
LevelX2 2015-01-31 12:45:54 +01:00
parent 55e386a0e8
commit 8d6c25b3e8
4 changed files with 19 additions and 19 deletions

View file

@ -721,13 +721,13 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
private BufferedImage getFaceDownImage() {
if (isPermanent) {
if (((PermanentView) gameCard).isMorphed()) {
if (gameCard.isMorphCard() && ((PermanentView) gameCard).isMorphed()) {
return ImageCache.getMorphImage();
} else {
return ImageCache.getManifestImage();
}
} else {
if (gameCard.isMorphCard()) {
if (gameCard.isMorphCard() && this.gameCard instanceof StackAbilityView) {
return ImageCache.getMorphImage();
} else {
return ImageCache.loadImage(new TFile(DirectLinksForDownload.outDir + File.separator + DirectLinksForDownload.cardbackFilename));