Skip to content

Commit

Permalink
Fixed a movieclip parse bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoguzhu committed Jul 5, 2018
1 parent b847d14 commit 9fb345f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfairygui/Classes/UIPackage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ void UIPackage::loadMovieClip(PackageItem * item)
if (swing)
{
int cnt = (int)frames.size();
for (int i = cnt - 1; i >= 1; i++)
for (int i = cnt - 1; i >= 1; i--)
{
AnimationFrame* frame = frames.at(i);
frames.pushBack(frame);
Expand Down

0 comments on commit 9fb345f

Please sign in to comment.