From ee2c6dc2d3f8a2753f132c7e7402a1d13e8cf252 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Wed, 26 Apr 2023 16:40:46 -0700 Subject: [PATCH] ShapeManagerPatches.cs: make the fact that we're multiplying the base game capacities more obvious --- NewHorizons/Patches/ShapeManagerPatches.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NewHorizons/Patches/ShapeManagerPatches.cs b/NewHorizons/Patches/ShapeManagerPatches.cs index d50b6740..c44c94db 100644 --- a/NewHorizons/Patches/ShapeManagerPatches.cs +++ b/NewHorizons/Patches/ShapeManagerPatches.cs @@ -12,13 +12,13 @@ namespace NewHorizons.Patches { ShapeManager._exists = true; - ShapeManager._detectors = new ShapeManager.Layer(1024); - for (int index = 0; index < 1024; ++index) + ShapeManager._detectors = new ShapeManager.Layer(256 * 4); + for (int index = 0; index < 256 * 4; ++index) ShapeManager._detectors[index].contacts = new List(64); ShapeManager._volumes = new ShapeManager.Layer[4]; for (int index = 0; index < 4; ++index) - ShapeManager._volumes[index] = new ShapeManager.Layer(2048); + ShapeManager._volumes[index] = new ShapeManager.Layer(1024 * 2); ShapeManager._locked = false; ShapeManager._frameFlag = false;