mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
gui: fix Saga DFC rendering (#12134)
This commit is contained in:
parent
006f212b6b
commit
b76a3ba889
1 changed files with 6 additions and 3 deletions
|
|
@ -486,6 +486,9 @@ public class CardView extends SimpleCardView {
|
|||
if (!permanent.getControllerId().equals(permanent.getOwnerId())) {
|
||||
controlledByOwner = false;
|
||||
}
|
||||
if (permanent.isTransformed()) {
|
||||
transformed = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (card.isCopy()) {
|
||||
|
|
@ -631,10 +634,10 @@ public class CardView extends SimpleCardView {
|
|||
}
|
||||
|
||||
// Cases, classes and sagas have portrait art
|
||||
if (card.getSubtype().contains(SubType.CASE) ||
|
||||
card.getSubtype().contains(SubType.CLASS)) {
|
||||
if (card.getSubtype(game).contains(SubType.CASE) ||
|
||||
card.getSubtype(game).contains(SubType.CLASS)) {
|
||||
artRect = ArtRect.FULL_LENGTH_LEFT;
|
||||
} else if (card.getSubtype().contains(SubType.SAGA)) {
|
||||
} else if (card.getSubtype(game).contains(SubType.SAGA)) {
|
||||
artRect = ArtRect.FULL_LENGTH_RIGHT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue