diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2025-05-17 20:33:28 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2025-05-17 20:33:28 -0300 |
| commit | 3b2efbb81ae7020d2bccb0b7a15a4f5eb14b1f63 (patch) | |
| tree | bbbc6c2a465c9e9e2eb5ecfef70a29d471b182b2 /src/actors/green_shell/update.inc.c | |
| parent | d52831e4ba9de27fdc70cd824a81f812011b81ce (diff) | |
fthismigration/vec-struct
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]; |
