v0.5.0: fixed patch generation using level width instead of height
This commit is contained in:
parent
1c62066492
commit
776e49872a
|
@ -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()];
|
||||
|
|
Loading…
Reference in New Issue
Block a user