Fix up some fubars in MTS and MTA

This commit is contained in:
Christian Weeks committed 2012-05-18 20:16:41 -04:00
1 parent ac221275d9
commit fa921f0aa9
2 files changed
+3 -3

No files matched your search

@@ -95,9 +95,9 @@ public class ModTextureAnimation extends TextureFX
for (int frame = 0; frame < frames; frame++)
{
int[] pixels = new int[tWidth * tHeight];
int[] pixels = new int[tileSizeSquare];
image.getRGB(0, tHeight * frame, tWidth, tHeight, pixels, 0, tWidth);
images[frame] = new byte[tWidth * tHeight * 4];
images[frame] = new byte[tileSizeSquare << 2];
for (int i = 0; i < pixels.length; i++)
{