File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11{
2- "geode" : " 4.0.0-beta. 1" ,
2+ "geode" : " 4.0.1" ,
33 "gd" : {
44 "win" : " 2.2074" ,
55 "android" : " 2.2074" ,
88 },
99 "id" : " alphalaneous.fine_outline" ,
1010 "name" : " Fine Outline" ,
11- "version" : " v1.0.9 " ,
11+ "version" : " v1.0.10 " ,
1212 "developer" : " Alphalaneous" ,
1313 "description" : " Change the black outline color of icons!" ,
1414 "dependencies" : [
Original file line number Diff line number Diff line change @@ -22,15 +22,14 @@ class BatchHandler {
2222#define DO_FAKE (method ) if (!BatchHandler::get().isFake(this )) CCSpriteBatchNode::method; else CCNode::method;
2323
2424class $modify(MyCCSpriteBatchNode, CCSpriteBatchNode) {
25- struct Fields {
26- CCSpriteBatchNode* m_self;
27- ~Fields () {
28- BatchHandler::get (). m_batchNodes . erase (m_self );
29- }
30- };
25+
26+ void destructor () {
27+ BatchHandler::get (). m_batchNodes . erase ( this );
28+ CCSpriteBatchNode::~CCSpriteBatchNode ( );
29+ }
30+
3131 static CCSpriteBatchNode* createWithTexture (CCTexture2D* tex, unsigned int capacity) {
3232 auto ret = CCSpriteBatchNode::createWithTexture (tex, capacity);
33- static_cast <MyCCSpriteBatchNode*>(ret)->m_fields ->m_self = ret;
3433 BatchHandler::get ().m_batchNodes [ret] = false ;
3534 return ret;
3635 }
You can’t perform that action at this time.
0 commit comments