From fef41ed7415a9a4f43630e119f5e5277fb4efb02 Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 21 Sep 2020 00:35:04 -0700 Subject: [PATCH] Fixed copy/paste error --- src/game/behaviors/rolling_log.inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/behaviors/rolling_log.inc.c b/src/game/behaviors/rolling_log.inc.c index f3dc7dc86..215b90cd1 100644 --- a/src/game/behaviors/rolling_log.inc.c +++ b/src/game/behaviors/rolling_log.inc.c @@ -35,6 +35,7 @@ void rolling_log_roll_log(void) { f32 x = 0; f32 y = 0; f32 z = 0; + u8 playersTouched = 0; for (int i = 0; i < MAX_PLAYERS; i++) { if (!is_player_active(&gMarioStates[i])) { continue; } @@ -43,7 +44,6 @@ void rolling_log_roll_log(void) { y += gMarioObject->header.gfx.pos[1]; z += gMarioObject->header.gfx.pos[2]; playersTouched++; - if (i == 0) { marioOnPlatform = TRUE; } } if (playersTouched > 0) {