mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* Fixed some handling problems with face down creatures (Ixidron).
This commit is contained in:
parent
b06637df53
commit
07b509684a
3 changed files with 44 additions and 24 deletions
|
|
@ -703,10 +703,16 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
|
|||
try {
|
||||
tappedAngle = isTapped() ? CardPanel.TAPPED_ANGLE : 0;
|
||||
flippedAngle = isFlipped() ? CardPanel.FLIPPED_ANGLE : 0;
|
||||
BufferedImage srcImage;
|
||||
if (gameCard.isFaceDown()) {
|
||||
return;
|
||||
if (gameCard.isMorphCard()) {
|
||||
srcImage = ImageCache.getMorphImage();
|
||||
} else {
|
||||
srcImage = ImageCache.loadImage(new TFile(DirectLinksForDownload.outDir + File.separator + DirectLinksForDownload.cardbackFilename));
|
||||
}
|
||||
} else {
|
||||
srcImage = ImageCache.getThumbnail(gameCard);
|
||||
}
|
||||
BufferedImage srcImage = ImageCache.getThumbnail(gameCard);
|
||||
if (srcImage != null) {
|
||||
hasImage = true;
|
||||
setText(gameCard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue