mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
fix item values and helper group ids
This commit is contained in:
parent
3710c4d195
commit
6b1f1164d2
1 changed files with 4 additions and 4 deletions
|
@ -1907,7 +1907,7 @@ class GJEffectManager : cocos2d::CCNode {
|
||||||
std::array<bool, 1100> m_pulseExistsForGroup;
|
std::array<bool, 1100> m_pulseExistsForGroup;
|
||||||
bool m_f063c;
|
bool m_f063c;
|
||||||
std::array<bool, 1100> m_opactiyExistsForGroup;
|
std::array<bool, 1100> m_opactiyExistsForGroup;
|
||||||
std::array<bool, 1100> m_itemValues;
|
std::array<int, 1100> m_itemValues;
|
||||||
int m_unusued;
|
int m_unusued;
|
||||||
int* m_unused2;
|
int* m_unused2;
|
||||||
cocos2d::CCArray* m_f1bc8;
|
cocos2d::CCArray* m_f1bc8;
|
||||||
|
@ -2820,7 +2820,7 @@ class GameObject : CCSpritePlus {
|
||||||
return m_uniqueID;
|
return m_uniqueID;
|
||||||
}
|
}
|
||||||
short getGroupID(int ix) {
|
short getGroupID(int ix) {
|
||||||
return m_groups[ix];
|
return m_groups->operator[](ix);
|
||||||
}
|
}
|
||||||
short getGroupIDCount() {
|
short getGroupIDCount() {
|
||||||
return m_groupCount;
|
return m_groupCount;
|
||||||
|
@ -2828,9 +2828,9 @@ class GameObject : CCSpritePlus {
|
||||||
gd::vector<short> getGroupIDs() {
|
gd::vector<short> getGroupIDs() {
|
||||||
std::vector<short> res;
|
std::vector<short> res;
|
||||||
|
|
||||||
if (m_groups && m_groups[0])
|
if (m_groups && m_groups->operator[](0))
|
||||||
for (auto i = 0; i < m_groupCount; i++)
|
for (auto i = 0; i < m_groupCount; i++)
|
||||||
res.push_back(m_groups[i]);
|
res.push_back(m_groups->operator[](i));
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue