Skip to content

Conversation

Belonit
Copy link
Member

@Belonit Belonit commented Jun 28, 2025

No description provided.

Copy link

github-actions bot commented Jun 28, 2025

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Belonit Belonit force-pushed the fix-ProtocolZero-NextSendFrame-for-MP-saveload branch from 26c81ab to 8380268 Compare June 28, 2025 13:13
@Belonit Belonit requested a review from Metadorius June 28, 2025 13:31
@Metadorius Metadorius changed the title fix ProtocolZero NextSendFrame for MP saveload Improve ProtocolZero behavior on MP game load Jun 28, 2025
Comment on lines 36 to 42
static void Init()
{
Enable = false;
WorstMaxAhead = 24;
NextSendFrame = -1;
MaxLatencyLevel = 0xff;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not assign values right to the static vars?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also 0xff should be UCHAR_MAX or the std::limits whatever version of that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I worked on the comment, look again

@Metadorius Metadorius merged commit b1c11cc into main Jun 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants