From 6402d228c0c1900eee431551824ddb448a3e8f9d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 18 Nov 2023 10:59:58 -0500 Subject: [PATCH] Mirror lookup --- src/engine/InterestManagement/Terrain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index e1963729..1a2fd1cb 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -56,8 +56,8 @@ public class Terrain { this.terrain_size.x = this.zone.major_radius * 2; this.terrain_size.y = this.zone.minor_radius * 2; - this.cell_count.x = this.image_size.x - 1; - this.cell_count.y = this.image_size.y - 1; + this.cell_count.x = this.image_size.x; + this.cell_count.y = this.image_size.y; this.cell_size.x = terrain_size.x / this.cell_count.x; this.cell_size.y = terrain_size.y / this.cell_count.y;