mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-12-02 22:22:48 +00:00
Fixed copy/paste error
This commit is contained in:
parent
fdee4eceea
commit
fef41ed741
1 changed files with 1 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ void rolling_log_roll_log(void) {
|
||||||
f32 x = 0;
|
f32 x = 0;
|
||||||
f32 y = 0;
|
f32 y = 0;
|
||||||
f32 z = 0;
|
f32 z = 0;
|
||||||
|
|
||||||
u8 playersTouched = 0;
|
u8 playersTouched = 0;
|
||||||
for (int i = 0; i < MAX_PLAYERS; i++) {
|
for (int i = 0; i < MAX_PLAYERS; i++) {
|
||||||
if (!is_player_active(&gMarioStates[i])) { continue; }
|
if (!is_player_active(&gMarioStates[i])) { continue; }
|
||||||
|
|
@ -43,7 +44,6 @@ void rolling_log_roll_log(void) {
|
||||||
y += gMarioObject->header.gfx.pos[1];
|
y += gMarioObject->header.gfx.pos[1];
|
||||||
z += gMarioObject->header.gfx.pos[2];
|
z += gMarioObject->header.gfx.pos[2];
|
||||||
playersTouched++;
|
playersTouched++;
|
||||||
if (i == 0) { marioOnPlatform = TRUE; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (playersTouched > 0) {
|
if (playersTouched > 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue