From 72fe3c58c6880055a6438b1e3971fd9576740dfa Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 12 Nov 2023 13:01:17 -0500 Subject: [PATCH] IDA Pro says 256 --- src/engine/InterestManagement/Terrain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index abd0e638..c6de9b38 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -84,7 +84,7 @@ public class Terrain { // Scale coefficient for this terrain - this.terrain_scale = this.zone.template.terrain_max_y / 255f; + this.terrain_scale = this.zone.template.terrain_max_y / 256; } public static Zone getNextZoneWithTerrain(Zone zone) {