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

CharacterCore::m_HookTick is a duration, not an absolute tick #3233

Open
heinrich5991 opened this issue Feb 27, 2024 · 0 comments
Open

CharacterCore::m_HookTick is a duration, not an absolute tick #3233

heinrich5991 opened this issue Feb 27, 2024 · 0 comments

Comments

@heinrich5991
Copy link
Contributor

CC heinrich5991/libtw2#93
CC @Zwelf

The type NetTick seems wrong, should probably be a NetInt.

m_HookTick++;
if(m_HookedPlayer != -1 && (m_HookTick > SERVER_TICK_SPEED+SERVER_TICK_SPEED/5 || !m_pWorld->m_apCharacters[m_HookedPlayer]))

NetTick("m_HookTick"),

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