Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Dec 16, 2023
1 parent 8be01a7 commit 8c152dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/LevelCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class $modify(BILevelCell, LevelCell) {
auto parent = CCSprite::create();
parent->setID("bi-leveldesc");
/*auto bg = CCScale9Sprite::create("square02b_small.png", { 0, 0, 40, 40 });
/ *auto bg = CCScale9Sprite::create("square02b_small.png", { 0, 0, 40, 40 });
bg->setColor({ 0, 0, 0 });
parent->addChild(bg);
Expand Down
1 change: 1 addition & 0 deletions src/layers/RewardHistory/RewardCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ void RewardCell::loadFromData(CCObject* object) {
const char* chestTexture = "chest_01_02_001.png";
float chestSize = 0.35f;
switch(reward->m_rewardType) {
default: break;
case GJRewardType::Small: chestTexture = "chest_01_02_001.png"; break;
case GJRewardType::Large: chestTexture = "chest_02_02_001.png"; chestSize = 0.275f; break;
case GJRewardType::SmallTreasure: chestTexture = "chest_03_02_001.png"; chestSize = 0.275f; break;
Expand Down

0 comments on commit 8c152dd

Please sign in to comment.