diff --git a/CMakeLists.txt b/CMakeLists.txt index 825d735..de40b65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.15) project( OpenHack - VERSION 2.2.2 + VERSION 2.2.2.1 HOMEPAGE_URL "https://github.com/Prevter/GDOpenHack" LANGUAGES C CXX ) diff --git a/libs/gd.hpp b/libs/gd.hpp index bb5b461..d282415 160000 --- a/libs/gd.hpp +++ b/libs/gd.hpp @@ -1 +1 @@ -Subproject commit bb5b461be8ce3108030592de6dc9ef5c70049893 +Subproject commit d282415d9b522e57b241b3e19c5c91e7446758da diff --git a/src/standalone/hooks/PlayLayer.cpp b/src/standalone/hooks/PlayLayer.cpp index 3192bcc..aed3f6f 100644 --- a/src/standalone/hooks/PlayLayer.cpp +++ b/src/standalone/hooks/PlayLayer.cpp @@ -67,14 +67,14 @@ namespace openhack::hooks::PlayLayer { hacks::Hitboxes::fullReset(); } - void playEndAnimationToPos(cocos2d::CCPoint pos) { + void playEndAnimationToPos(gd::PlayLayer *self, cocos2d::CCPoint pos) { hacks::Zephyrus::endAnimation(); - hook::PlayLayer::playEndAnimationToPos(pos); + hook::PlayLayer::playEndAnimationToPos(self, pos); } - void playPlatformerEndAnimationToPos(cocos2d::CCPoint pos, bool unk) { + void playPlatformerEndAnimationToPos(gd::PlayLayer *self, cocos2d::CCPoint pos, bool unk) { hacks::Zephyrus::endAnimation(); - hook::PlayLayer::playPlatformerEndAnimationToPos(pos, unk); + hook::PlayLayer::playPlatformerEndAnimationToPos(self, pos, unk); } void installHooks() {