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