From 197d8074e335b9937f5ac4b96a1b2a3cd50a3f85 Mon Sep 17 00:00:00 2001 From: Gregory Heskett Date: Fri, 1 Mar 2024 17:47:05 -0500 Subject: [PATCH] Vanilla bugfix: obj_init_animation referencing o instead of obj --- src/game/object_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/object_helpers.c b/src/game/object_helpers.c index 3a617cda7..82435a4f6 100644 --- a/src/game/object_helpers.c +++ b/src/game/object_helpers.c @@ -468,7 +468,7 @@ void obj_set_gfx_pos_from_pos(struct Object *obj) { } void obj_init_animation(struct Object *obj, s32 animIndex) { - struct Animation **anims = o->oAnimations; + struct Animation **anims = obj->oAnimations; geo_obj_init_animation(&obj->header.gfx, &anims[animIndex]); }