Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap every day - update_ticks() #601

Open
s88100 opened this issue Nov 18, 2023 · 0 comments
Open

Wrap every day - update_ticks() #601

s88100 opened this issue Nov 18, 2023 · 0 comments

Comments

@s88100
Copy link
Contributor

s88100 commented Nov 18, 2023

/src/client/netclient.c

update_ticks()
. . . . .
/* Wrap every day */
if ((ticks < last_sent) || (ticks < last_received))
    last_sent = last_received = 0;

printf("        ticks->%d\n", ticks);
printf("    last_sent->%d\n", last_sent);
printf("last_received->%d\n", last_received);

Checked the variables 'ticks', 'last_sent', 'last_received' in the game every day are not reset to = 0.

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

No branches or pull requests

1 participant