Make LightmapInfo a class

This commit is contained in:
Jarrod Doyle 2024-10-05 14:51:31 +01:00
parent 013a3b845a
commit ea72c3af4a
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 2 additions and 2 deletions

View File

@ -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);