summaryrefslogtreecommitdiff
path: root/src/actors/green_shell
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-17 20:33:28 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-17 20:33:28 -0300
commit3b2efbb81ae7020d2bccb0b7a15a4f5eb14b1f63 (patch)
treebbbc6c2a465c9e9e2eb5ecfef70a29d471b182b2 /src/actors/green_shell
parentd52831e4ba9de27fdc70cd824a81f812011b81ce (diff)
Diffstat (limited to 'src/actors/green_shell')
-rw-r--r--src/actors/green_shell/update.inc.c4
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];