drawing-order: draw tiles right-to-left

to handle tall tiles correctly
This commit is contained in:
Jason Long 2014-08-01 13:34:32 -04:00
parent 4336dbf5e7
commit d6a295cbe7

View file

@ -177,7 +177,7 @@ public class MicropolisDrawingArea extends JComponent
for (int y = minY; y < maxY; y++)
{
for (int x = minX; x < maxX; x++)
for (int x = maxX-1; x >= minX; x--)
{
int cell = m.getTile(x,y);
if (blinkUnpoweredZones &&