Revert "Fix INT_HIT_FROM_ABOVE/BELOW check (#751)"
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled

This reverts commit d8e9cd8641.
This commit is contained in:
PeachyPeachSM64 2025-05-06 16:58:25 +02:00
parent c627cf7214
commit 19880356eb

View file

@ -226,7 +226,7 @@ u32 determine_interaction(struct MarioState *m, struct Object *o) {
// Prior to this, the interaction type could be overwritten. This requires, however,
// that the interaction not be set prior. This specifically overrides turning a ground
// pound into just a bounce.
if ((interaction == 0 || interaction & INT_LUA) && (action & ACT_FLAG_AIR)) {
if (interaction == 0 && (action & ACT_FLAG_AIR)) {
if (m->vel[1] < 0.0f) {
if (m->pos[1] > o->oPosY) {
interaction = INT_HIT_FROM_ABOVE;