pole fix
This commit is contained in:
1 parent
58146790aa
commit
ad1702ecc8
1 file changed
+1
-1
@@ -1532,7 +1532,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;
|
||||
marioObj->oMarioPolePos = (m->pos[1] - o->oPosY) < 0 ? 0 : (m->pos[1] - o->oPosY);
|
||||
|
||||
if (lowSpeed) {
|
||||
return set_mario_action(m, ACT_GRAB_POLE_SLOW, 0);
|
||||
|
||||
Reference in new issue
Block a user