mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
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
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:
parent
c627cf7214
commit
19880356eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue