We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649c8e9 commit 5593fbeCopy full SHA for 5593fbe
src/main/java/org/runejs/client/scene/Scene.java
@@ -37,7 +37,7 @@ public class Scene {
37
38
public static boolean lowMemory = true;
39
40
- public final Landscape landscape = new Landscape();
+ public final Landscape landscape;
41
42
public SceneTile[][][] tileArray;
43
public int[][][] tileOcclusionCycles;
@@ -103,6 +103,7 @@ public class Scene {
103
private CameraTileVisibility tileVisibilityInfo;
104
105
public Scene() {
106
+ this.landscape = new Landscape(this);
107
tileArray = new SceneTile[mapSizeZ][mapSizeX][mapSizeY];
108
tileOcclusionCycles = new int[mapSizeZ][mapSizeX + 1][mapSizeY + 1];
109
this.heightMap = this.landscape.tile_height;
0 commit comments