mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
fix compile error
This commit is contained in:
parent
a359b28bb4
commit
a3062287ac
1 changed files with 2 additions and 1 deletions
|
@ -1246,8 +1246,9 @@ void bhv_bowser_loop(void) {
|
|||
int angleToPlayer = obj_angle_to_object(o, player);
|
||||
|
||||
// look for animation difference and override
|
||||
struct Animation* anim = NULL;
|
||||
if (o->oAnimations != NULL && networkBowserAnimationIndex <= 26) {
|
||||
struct Animation* anim = o->oAnimations[networkBowserAnimationIndex];
|
||||
anim = o->oAnimations[networkBowserAnimationIndex];
|
||||
if (anim != NULL && o->header.gfx.unk38.curAnim != anim) {
|
||||
geo_obj_init_animation(&o->header.gfx, &anim);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue