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

CMoveData::m_flMaxSpeed is at the wrong offset #90

Open
bottiger1 opened this issue Jun 20, 2021 · 0 comments
Open

CMoveData::m_flMaxSpeed is at the wrong offset #90

bottiger1 opened this issue Jun 20, 2021 · 0 comments

Comments

@bottiger1
Copy link

bottiger1 commented Jun 20, 2021

m_flMaxSpeed is at the wrong offset.

float m_flMaxSpeed;

I found it in the member variable below it .

float m_flClientMaxSpeed;

I verified this by hooking CTFGameMovement::ProcessMovement( CBasePlayer *pBasePlayer, CMoveData *pMove ). m_flMaxSpeed was 0.0 and m_flClientMaxSpeed was 520.0 as it is set by this code

https://github.com/TheAlePower/TeamFortress2/blob/1b81dded673d49adebf4d0958e52236ecc28a956/tf2_src/game/shared/tf/tf_gamemovement.cpp#L315

I'm not sure how I would go about finding the exact member that was added to cause the variable to shift downwards and where, but I thought I would report it.

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