Skip to content

Commit

Permalink
Fix CGameGhost 0x003
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Sep 7, 2024
1 parent 140fa7f commit 15f2c89
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Src/GBX.NET/Engines/Game/CGameGhost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ public override void Read(CGameGhost n, GbxReader r)
n.RawData = r.ReadData();
n.sampleData = new Data(n.RawData)
{
Offsets = r.ReadArray<int>(),
IsFixedTimeStep = r.ReadBoolean(),
SamplePeriod = r.ReadTimeInt32(),
Version = r.ReadInt32()
Offsets = r.ReadArray<int>()
};
Times = r.ReadArray<int>();
n.sampleData.IsFixedTimeStep = r.ReadBoolean();
n.sampleData.SamplePeriod = r.ReadTimeInt32();
n.sampleData.Version = r.ReadInt32();
}

public override void Write(CGameGhost n, GbxWriter w)
Expand Down

0 comments on commit 15f2c89

Please sign in to comment.