From a34474bc0adbf7ae9af2265543816c966149287c Mon Sep 17 00:00:00 2001 From: Cvolton Date: Mon, 2 Dec 2024 22:03:21 +0100 Subject: [PATCH] fix gold keys using placeholder sprite in rewardcell --- src/layers/RewardHistory/RewardCell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layers/RewardHistory/RewardCell.cpp b/src/layers/RewardHistory/RewardCell.cpp index 158d785..81b5abc 100644 --- a/src/layers/RewardHistory/RewardCell.cpp +++ b/src/layers/RewardHistory/RewardCell.cpp @@ -195,6 +195,7 @@ CCSprite* RewardCell::itemToSprite(SpecialRewardItem item) { case SpecialRewardItem::MetalShard: textureName = "shard0203ShardSmall_001.png"; break; case SpecialRewardItem::LightShard: textureName = "shard0204ShardSmall_001.png"; break; case SpecialRewardItem::SoulShard: textureName = "shard0205ShardSmall_001.png"; break; + case SpecialRewardItem::GoldKey: textureName = "GJ_bigGoldKey_001.png"; scale = .5f; break; default: scale = 0.7f; }