Skip to content

Commit 58dd340

Browse files
committed
updated for V5! :D
1 parent f602d3a commit 58dd340

3 files changed

Lines changed: 25 additions & 27 deletions

File tree

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.0.6
2+
- updated for geode V5!
3+
14
# 1.0.5
25
- iOS support :D
36

mod.json

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"geode": "4.3.2",
2+
"geode": "5.0.0-beta.2",
33
"gd": {
4-
"win": "2.2074",
5-
"android": "2.2074",
6-
"mac": "2.2074",
7-
"ios": "2.2074"
4+
"win": "2.2081",
5+
"android": "2.2081",
6+
"mac": "2.2081",
7+
"ios": "2.2081"
88
},
99
"id": "abb2k.demonify",
1010
"tags": ["offline", "joke", "customization"],
1111
"name": "demonify",
12-
"version": "v1.0.5",
12+
"version": "v1.0.6",
1313
"developer": "abb2k",
14-
"description": "Changes the demons to the REAL demon difficulty!",
14+
"description": "Demons use the REAL demon difficulty!",
1515
"settings": {
1616
"remove-filters": {
1717
"name": "Remove Filters",
@@ -20,27 +20,21 @@
2020
"default": true
2121
}
2222
},
23-
"dependencies": [
24-
{
25-
"id": "geode.node-ids",
26-
"version": ">=v1.10.0",
27-
"importance": "required"
28-
}
29-
],
30-
"incompatibilities": [
31-
{
32-
"id": "itzkiba.grandpa_demon",
33-
"importance": "conflicting",
23+
"dependencies": {
24+
"geode.node-ids": ">=v1.10.0"
25+
},
26+
"incompatibilities": {
27+
"itzkiba.grandpa_demon": {
28+
"breaking": false,
3429
"version": ">=v1.2.0"
3530
},
36-
{
37-
"id": "minemaker0430.gddp_integration",
38-
"importance": "conflicting",
31+
"minemaker0430.gddp_integration": {
32+
"breaking": false,
3933
"version": ">=v1.0.0-beta.33"
40-
},{
41-
"id": "hiimjustin000.demons_in_between",
42-
"importance": "conflicting",
34+
},
35+
"hiimjustin000.demons_in_between": {
36+
"breaking": false,
4337
"version": ">=v1.1.3"
4438
}
45-
]
39+
}
4640
}

src/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,14 @@ class $modify(MyLevelInfoLayer, LevelInfoLayer) {
139139

140140
if (!m_fields->didMoveParticals){
141141
bool foundParticals = false;
142-
CCObject* child;
143-
CCARRAY_FOREACH(getChildren(), child){
142+
for (const auto& child : this->getChildrenExt())
143+
{
144144
if (auto c = typeinfo_cast<CCParticleSystemQuad*>(child)){
145145
c->setPositionY(c->getPositionY() - 7);
146146
foundParticals = true;
147147
}
148148
}
149+
149150
m_fields->didMoveParticals = foundParticals;
150151
}
151152

0 commit comments

Comments
 (0)