From 2646a73908af26b85e471637a10b0434d6ac1f3d Mon Sep 17 00:00:00 2001 From: CoderStig <79828759+CoderStig@users.noreply.github.com> Date: Wed, 27 Oct 2021 14:18:46 -0600 Subject: [PATCH] Fixed vec3f struct access to array access (#44) --- src/code_800393C0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/code_800393C0.c b/src/code_800393C0.c index 1b6f637cc..064724830 100644 --- a/src/code_800393C0.c +++ b/src/code_800393C0.c @@ -218,9 +218,9 @@ void spawn_player(Player *player, s8 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg D_801652E0[arg1] = 0; D_801652C0[arg1] = 0; D_80165020[arg1] = 0; - D_80165070[arg1].x = 0.0f; - D_80165070[arg1].y = 0.0f; - D_80165070[arg1].z = 0.0f; + D_80165070[arg1][0] = 0.0f; + D_80165070[arg1][1] = 0.0f; + D_80165070[arg1][2] = 0.0f; D_80165280[arg1] = 0.0f; D_801652A0[arg1] = 0.0f; D_801653E0[arg1] = 0;