Skip to content

Commit

Permalink
Fixed importing palettes that are smaller than 256 colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Piranhaplant committed May 3, 2014
1 parent fdd3470 commit 0efa814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NSMBe4/GraphicsEditor/GraphicsSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public bool import()
}
b.Dispose();

ImageIndexer ii = new ImageIndexer(bl, 256, true, 0);
ImageIndexer ii = new ImageIndexer(bl, pals[0].pal.Length, true, 0);


int x = 0;
Expand Down

0 comments on commit 0efa814

Please sign in to comment.