actually fix fields lol

This commit is contained in:
altalk23 2023-03-06 21:24:38 +03:00
parent 7dba804969
commit ed02c8a893

View file

@ -134,8 +134,8 @@ namespace geode {
// abusing the internal stuff // abusing the internal stuff
// basically we dont want modify to invoke base ctors and dtors // basically we dont want modify to invoke base ctors and dtors
// we already have utilities for these, which are ccdestructor // we already have utilities for these, which are ccdestructor
// and the zero constructor // and the cutoff constructor
Modify() : Base(ZeroConstructor) {} Modify() : Base(CutoffConstructor, sizeof(Base)) {}
~Modify() { ~Modify() {
cocos2d::CCDestructor::lock(this) = true; cocos2d::CCDestructor::lock(this) = true;