v0.5.0: fixed patch generation using level width instead of height

This commit is contained in:
Evan Debenham 2017-01-02 01:16:54 -05:00 committed by Evan Debenham
parent 1c62066492
commit 776e49872a

View File

@ -28,7 +28,7 @@ public class Patch {
public static boolean[] generate( Level level, float seed, int nGen ) {
int w = level.width();
int h = level.width();
int h = level.height();
boolean[] cur = new boolean[level.length()];
boolean[] off = new boolean[level.length()];