Skip to content

Commit 0506734

Browse files
committed
🐛 Show full animation when frames are being used multiple times
1 parent 7765360 commit 0506734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Animation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Animation::~Animation()
115115
void Animation::next_frame()
116116
{
117117
this->current_frame_number+= 1;
118-
if(this->current_frame_number >= this->total_frames_files)
118+
if(this->current_frame_number >= this->frames_order.size())
119119
{
120120
this->current_frame_number = 0;
121121
}

0 commit comments

Comments
 (0)