Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
silly me, forgetting to add "this"
Browse files Browse the repository at this point in the history
(standalone version only fix)
  • Loading branch information
Prevter committed Apr 7, 2024
1 parent eef5bb9 commit f8a5a29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion libs/gd.hpp
8 changes: 4 additions & 4 deletions src/standalone/hooks/PlayLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f8a5a29

Please sign in to comment.