Skip to content

Commit 73badcb

Browse files
committed
updated for v4 i hope
1 parent da1dfdf commit 73badcb

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ else()
2525
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
2626
endif()
2727

28-
set(GEODE_LINK_NIGHTLY ON)
29-
3028
add_subdirectory($ENV{GEODE_SDK} $ENV{GEODE_SDK}/build)
3129

3230
if(WIN32)

mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"geode": "4.0.0-alpha.1",
2+
"geode": "4.0.1",
33
"version": "v2.2.0",
44
"gd": {
55
"win": "2.2074",
@@ -17,7 +17,7 @@
1717
"settings": {
1818
"cp": {
1919
"name": "Creator Points",
20-
"description": "Creator Points show up in the garage. Click the CP icon to refresh. (Only available to people logged in)",
20+
"description": "Creator Points show up in the garage. Click the Creator Points icon to refresh. (Only available to people logged in)",
2121
"type": "bool",
2222
"default": true
2323
},
@@ -87,7 +87,7 @@
8787
},
8888
{
8989
"id": "capeling.garage-stats-menu",
90-
"version": ">=v1.0.1",
90+
"version": ">=v1.0.2",
9191
"importance": "required"
9292
}],
9393
"issues": {

src/GPFeedbackLayer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class GPFeedbackLayer : public CCLayer {
4343
}
4444

4545
void onFeedbackClick(CCObject* sender) {
46-
auto descInput = dynamic_cast<CCTextInputNode*>(this->getChildByID("descInput"));
46+
auto descInput = typeinfo_cast<CCTextInputNode*>(this->getChildByID("descInput"));
4747
if (!descInput)
4848
return;
4949

src/GPIconSaveLayer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class GPFeedbackLayer : public CCLayer {
4646
}
4747

4848
void onFeedbackClick(CCObject* sender) {
49-
auto descInput = dynamic_cast<CCTextInputNode*>(this->getChildByID("descInput"));
49+
auto descInput = typeinfo_cast<CCTextInputNode*>(this->getChildByID("descInput"));
5050
if (!descInput)
5151
return;
5252

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class $modify(GJGarageLayerModified, GJGarageLayer) {
9393
auto myStatItem = StatsDisplayAPI::getNewItem(
9494
"achievements"_spr,
9595
CCSprite::createWithSpriteFrameName("rankIcon_top10_001.png"),
96-
static_cast<int>(AchievementManager::sharedState()->m_allAchievements->count()),
96+
typeinfo_cast<int>(AchievementManager::sharedState()->m_allAchievements->count()),
9797
0.5
9898
);
9999

0 commit comments

Comments
 (0)