Skip to content

Commit

Permalink
Wind Waker: Fix procTool texture animations not looping
Browse files Browse the repository at this point in the history
This fixes some Link's disappearing face in the Departure demo
  • Loading branch information
themikelester committed Dec 9, 2024
1 parent 5138e69 commit dbf8b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZeldaWindWaker/d_a.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5560,8 +5560,8 @@ class d_a_py_lk extends fopAc_ac_c implements ModeFuncExec<d_a_py_lk_mode> {

if (anmBckId === 0xFFFF || this.anmBckId === anmBckId) {
if (demoActor.flags & EDemoActorFlags.HasFrame) {
this.anmBck.frameCtrl.setFrame(anmFrame);
this.anmBtp.frameCtrl.setFrame(anmFrame);
this.anmBck.frameCtrl.setFrame(this.anmBck.frameCtrl.applyLoopMode(anmFrame));
this.anmBtp.frameCtrl.setFrame(this.anmBtp.frameCtrl.applyLoopMode(anmFrame));
demoActor.animFrameMax = this.anmBck.frameCtrl.endFrame;
}
} else {
Expand Down

0 comments on commit dbf8b59

Please sign in to comment.