Skip to content

Commit

Permalink
Made the thin terrain even thinner.
Browse files Browse the repository at this point in the history
  • Loading branch information
RosaryMala committed Jul 23, 2016
1 parent f74276f commit 69dd96f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions XRaw.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@ public void SetColumn(Color color, int x, int y, int zMin, int zMax)
short index = (short)_palette.IndexAdd(color);
for (int zz = 0; zz < Height; zz++)
ClearVoxel(x, y, zz);
for (int zz = zMin; zz <= zMax; zz++)
SetIndex(x, y, zz, index);
if (zMin == zMax)
SetIndex(x, y, zMax, index);
else
for (int zz = zMin + 1; zz <= zMax; zz++)
SetIndex(x, y, zz, index);
}

public bool Resize(int width, int length, int height)
Expand Down

0 comments on commit 69dd96f

Please sign in to comment.