fixed bug where non square shaped maps wouldn't load
This commit is contained in:
parent
23271cc086
commit
9e81e7cb3d
@ -59,7 +59,7 @@ public class Dungeon {
|
||||
mapWidth = width; // remember this value
|
||||
mapHeight = height;
|
||||
|
||||
Tile[][] dungeon = new Tile[width][height];
|
||||
Tile[][] dungeon = new Tile[height][width];
|
||||
|
||||
String line;
|
||||
Gate tempgate = new Gate();
|
||||
|
Loading…
Reference in New Issue
Block a user