Fixed being unable to break through the water surface with the moonjump cheat (#1320)

* Speed Vector for Link and Epona added to the Player Info debug ImGUI window for debugging.

* Fix being unable to moonjump through water surface

* Revert "Speed Vector for Link and Epona added to the Player Info debug ImGUI window for debugging."

This reverts commit d87cad3b37.
This commit is contained in:
Flash Computer
2026-05-27 23:16:50 -07:00
committed by GitHub
parent 71961dae85
commit 477192f3c2
+6 -1
View File
@@ -13461,7 +13461,12 @@ void daAlink_c::autoGroundHit() {
}
}
} else if (checkModeFlg(0x40000) && checkNoResetFlg0(FLG0_UNK_80) && current.pos.y > mWaterY && current.pos.y - mWaterY < 1000.0f) {
current.pos.y = mWaterY;
#if TARGET_PC
if(!(dusk::getSettings().game.moonJump && (mDoCPd_c::getHoldR(PAD_1) && mDoCPd_c::getHoldA(PAD_1))))
#endif
{
current.pos.y = mWaterY;
}
}
if (checkReinRide() || checkSpinnerRide()) {