Vanilla bugfix: obj_init_animation referencing o instead of obj
This commit is contained in:
1 parent
c5d9f535ee
commit
197d8074e3
1 file changed
+1
-1
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user