From 86d98e67df52cd79988d5103c14496cf680f8bb8 Mon Sep 17 00:00:00 2001 From: mishpro Date: Thu, 28 Mar 2024 21:04:14 +0700 Subject: [PATCH] g --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f508cc9..49e3ce0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -74,7 +74,7 @@ class $modify(FixedPlayLayer, PlayLayer) { class $modify(MyCCLayer, CCLayer){ void onEnter(){ if(reinterpret_cast(PlayLayer::get()) == reinterpret_cast(this)){ - auto pl = reinterpret_cast(static_cast(self)); + auto pl = reinterpret_cast(static_cast(this)); pl->onEnterH(); } else { CCLayer::onEnter();