Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/game/behaviors/floating_platform.inc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void floating_platform_act_move_to_home(void) {
f32 dz = gMarioObject->header.gfx.pos[2] - o->oPosZ;
f32 cy = coss(-o->oMoveAngleYaw);
f32 sy = sins(-o->oMoveAngleYaw);
o->oFaceAnglePitch = ((dz * cy) + (dx * sy)) * 2;
o->oFaceAnglePitch = ((dz * cy) - (dx * sy)) * 2;
o->oFaceAngleRoll = -((dx * cy) + (dz * sy)) * 2;
o->oVelY -= 1.0f;
if (o->oVelY < 0.0f) {
Expand Down Expand Up @@ -56,7 +56,6 @@ void floating_platform_act_move_to_home(void) {
void bhv_floating_platform_loop(void) {
o->oHomeY = floating_platform_find_home_y();

// o->oAction = o->oFloatingPlatformIsOnFloor;
if (o->oFloatingPlatformIsOnFloor) {
o->oPosY = o->oHomeY;
} else {
Expand Down