Skip to content

Commit

Permalink
Fix for week 49
Browse files Browse the repository at this point in the history
  • Loading branch information
kiooeht committed Nov 9, 2018
1 parent 74717a7 commit b5f878c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public Texture calculateLargePortrait()
if (cards.get(0) instanceof CustomCard) {
portraitTexture = CustomCard.getPortraitImage((CustomCard) cards.get(0));
} else {
portraitTexture = ImageMaster.loadImage("images/1024Portraits/" + cards.get(0).assetURL + ".png");
portraitTexture = ImageMaster.loadImage("images/1024Portraits/" + cards.get(0).assetUrl + ".png");
}
TextureRegion portrait0 = new TextureRegion(portraitTexture);
portrait0.setRegion(
Expand All @@ -277,7 +277,7 @@ public Texture calculateLargePortrait()
if (cards.get(1) instanceof CustomCard) {
portraitTexture = CustomCard.getPortraitImage((CustomCard) cards.get(1));
} else {
portraitTexture = ImageMaster.loadImage("images/1024Portraits/" + cards.get(1).assetURL + ".png");
portraitTexture = ImageMaster.loadImage("images/1024Portraits/" + cards.get(1).assetUrl + ".png");
}
TextureRegion portrait1 = new TextureRegion(portraitTexture);
portrait1.setRegion(
Expand Down

0 comments on commit b5f878c

Please sign in to comment.