From ea72c3af4a438491492b733d7bd2d7efe957a70b Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Sat, 5 Oct 2024 14:51:31 +0100 Subject: [PATCH] Make LightmapInfo a class --- KeepersCompound.LGS/Database/Chunks/WorldRep.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KeepersCompound.LGS/Database/Chunks/WorldRep.cs b/KeepersCompound.LGS/Database/Chunks/WorldRep.cs index 90882b8..08eb6cf 100644 --- a/KeepersCompound.LGS/Database/Chunks/WorldRep.cs +++ b/KeepersCompound.LGS/Database/Chunks/WorldRep.cs @@ -116,7 +116,7 @@ public class WorldRep : IChunk } } - public struct LightmapInfo + public class LightmapInfo { public (short, short) Bases { get; set; } public short PaddedWidth { get; set; } @@ -137,7 +137,7 @@ public class WorldRep : IChunk AnimLightBitmask = reader.ReadUInt32(); } - public readonly void Write(BinaryWriter writer) + public void Write(BinaryWriter writer) { writer.Write(Bases.Item1); writer.Write(Bases.Item2);