diff options
Diffstat (limited to 'src/actors/green_shell/update.inc.c')
| -rw-r--r-- | src/actors/green_shell/update.inc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actors/green_shell/update.inc.c b/src/actors/green_shell/update.inc.c index 04f8e2d95..0eb1b1e2a 100644 --- a/src/actors/green_shell/update.inc.c +++ b/src/actors/green_shell/update.inc.c @@ -67,7 +67,7 @@ void update_actor_green_shell(struct ShellActor* shell) { somePosVel[0] = 0.0f; somePosVel[1] = 0.0f; somePosVel[2] = -var_f2; - func_802B64C4(somePosVel, player->rotation[1] + player->unk_0C0); + func_802B64C4(somePosVel, player->rotation.y + player->unk_0C0); shell->velocity.x = somePosVel[0]; shell->velocity.y = somePosVel[1]; shell->velocity.z = somePosVel[2]; @@ -119,7 +119,7 @@ void update_actor_green_shell(struct ShellActor* shell) { somePosVel[0] = 0.0f; somePosVel[1] = 0.0f; somePosVel[2] = var_f2; - func_802B64C4(somePosVel, player->rotation[1] + player->unk_0C0); + func_802B64C4(somePosVel, player->rotation.y + player->unk_0C0); shell->velocity.x = somePosVel[0]; shell->velocity.y = somePosVel[1]; shell->velocity.z = somePosVel[2]; |
