From ed02c8a893f82ae8902dccc49707cc4752d480b3 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Mon, 6 Mar 2023 21:24:38 +0300 Subject: [PATCH] actually fix fields lol --- loader/include/Geode/modify/Modify.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/include/Geode/modify/Modify.hpp b/loader/include/Geode/modify/Modify.hpp index e3e3efcd..e5cd1dd1 100644 --- a/loader/include/Geode/modify/Modify.hpp +++ b/loader/include/Geode/modify/Modify.hpp @@ -134,8 +134,8 @@ namespace geode { // abusing the internal stuff // basically we dont want modify to invoke base ctors and dtors // we already have utilities for these, which are ccdestructor - // and the zero constructor - Modify() : Base(ZeroConstructor) {} + // and the cutoff constructor + Modify() : Base(CutoffConstructor, sizeof(Base)) {} ~Modify() { cocos2d::CCDestructor::lock(this) = true;