Skip to content

Commit

Permalink
Merge CPlayerGameStateDataNode for b3095 (pr-2750)
Browse files Browse the repository at this point in the history
4c9303a - fix(onesync): CPlayerGameStateDataNode for b3095
  • Loading branch information
prikolium-cfx committed Sep 17, 2024
2 parents 2ee45e6 + 4c9303a commit 9cde879
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/components/citizen-server-impl/include/state/SyncTrees_Five.h
Original file line number Diff line number Diff line change
Expand Up @@ -3072,6 +3072,11 @@ struct CPlayerGameStateDataNode
state.buffer.ReadBit();
}

if (Is3095())
{
state.buffer.ReadBit();
}

auto unk70 = state.buffer.ReadBit();

if (unk70)
Expand Down Expand Up @@ -3177,6 +3182,13 @@ struct CPlayerGameStateDataNode
}

int unk101 = state.buffer.Read<int>(13);

if (Is3095())
{
state.buffer.Read<int>(8);
state.buffer.Read<int>(8);
}

auto unk102 = state.buffer.ReadBit();
auto noCollision = state.buffer.ReadBit();
auto unk104 = state.buffer.ReadBit();
Expand Down

0 comments on commit 9cde879

Please sign in to comment.