Fixed pole fix for real

This commit is contained in:
Reonu
2021-05-07 14:58:45 +01:00
parent fef6617890
commit 31c35469f1

View File

@@ -1533,7 +1533,7 @@ u32 interact_pole(struct MarioState *m, UNUSED u32 interactType, struct Object *
marioObj->oMarioPoleUnk108 = 0;
marioObj->oMarioPoleYawVel = 0;
marioObj->oMarioPolePos = (m->pos[1] - o->oPosY) < 0
? (m->pos[1] - o->oPosY) + 1.0f
? -o->hitboxDownOffset
: (m->pos[1] - o->oPosY);
if (lowSpeed) {