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

Moving keys not reset in FCNPC_Stop #140

Closed
WoutProvost opened this issue Apr 2, 2018 · 0 comments
Closed

Moving keys not reset in FCNPC_Stop #140

WoutProvost opened this issue Apr 2, 2018 · 0 comments

Comments

@WoutProvost
Copy link
Contributor

WoutProvost commented Apr 2, 2018

The keys set in

FCNPC/src/CPlayerData.cpp

Lines 1548 to 1554 in 66b371b

if (iType == MOVE_TYPE_RUN) {
dwMoveKey |= KEY_NONE;
} else if (iType == MOVE_TYPE_WALK) {
dwMoveKey |= KEY_WALK;
} else if (iType == MOVE_TYPE_SPRINT) {
dwMoveKey |= KEY_SPRINT;
}
are not reset in CPlayerData::StopMoving. This leads to faulty behaviour.

@ziggi ziggi closed this as completed in 079c2d2 Apr 3, 2018
ziggi added a commit that referenced this issue Apr 3, 2018
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