Skip to content

Commit

Permalink
g
Browse files Browse the repository at this point in the history
  • Loading branch information
mishpro-programm committed Mar 28, 2024
1 parent 405226c commit 86d98e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class $modify(FixedPlayLayer, PlayLayer) {
class $modify(MyCCLayer, CCLayer){
void onEnter(){
if(reinterpret_cast<void*>(PlayLayer::get()) == reinterpret_cast<void*>(this)){
auto pl = reinterpret_cast<FixedPlayLayer*>(static_cast<CCLayer*>(self));
auto pl = reinterpret_cast<FixedPlayLayer*>(static_cast<CCLayer*>(this));
pl->onEnterH();
} else {
CCLayer::onEnter();
Expand Down

0 comments on commit 86d98e6

Please sign in to comment.