Vanilla bugfix: obj_init_animation referencing o instead of obj

This commit is contained in:
Gregory Heskett
2024-03-01 17:47:05 -05:00
parent c5d9f535ee
commit 197d8074e3

View File

@@ -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]);
}