From caaef197de920c03efe4fe481fb9ada1f7d73543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20K=C5=82ysz?= Date: Tue, 17 Nov 2026 10:11:10 +0000 Subject: [PATCH] fix(L06): call FastVecAdd in path_update_attached_point_table func_2EEEB8 is FastVecAdd only in level 17. In the levels that carry this function (6, 9, 11, 13, 18) the retail jal goes to each level's own FastVecAdd copy, and OpenRAC read the name as level 0's function at 0x2EEEB8 (quaternion_to_rotation_basis), which overwrote path data on Boldan's taxi. --- src/levels/shared/L06_0035EA68.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/levels/shared/L06_0035EA68.c b/src/levels/shared/L06_0035EA68.c index 5bb7f0044..5d365565a 100644 --- a/src/levels/shared/L06_0035EA68.c +++ b/src/levels/shared/L06_0035EA68.c @@ -184,7 +184,7 @@ extern char g_path_l17_table[]; extern char g_path_point_template[]; extern u8 g_hero_state[]; extern void matrix_mul_vec3(void *, void *, void *); -extern void func_2EEEB8(void *, void *, void *); +extern void FastVecAdd(void *, void *, void *); /* Same body as func_L17_003C3250, with this function's own callees. */ /* Moves a set of seven local points to follow the moby, and stores them in a shared table entry. */ @@ -213,7 +213,7 @@ void path_update_attached_point_table(char *moby) for (i = 6; i >= 0; i--) { matrix_mul_vec3(outPoint, sourcePoint, matrix); sourcePoint += 0x10; - func_2EEEB8(outPoint, outPoint, position); + FastVecAdd(outPoint, outPoint, position); outPoint += 0x10; } base = g_hero_state;