You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
fixed mario's angle when wallkicking
This commit is contained in:
@@ -1341,6 +1341,7 @@ s32 act_air_hit_wall(struct MarioState *m) {
|
||||
#endif*/
|
||||
#if FIRSTY_LAST_FRAME > 1
|
||||
set_mario_animation(m, MARIO_ANIM_START_WALLKICK);
|
||||
m->marioObj->header.gfx.angle[1] = atan2s(m->wall->normal.z, m->wall->normal.x);
|
||||
#endif
|
||||
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user