Movement Not Recognized Properly on Spawn
During a game, if I spawn while holding down buttons (say, move forward and strafe left), sometimes it just doesn't recognize the input. So I'll juggle around instead of moving. It seems like maybe forward is not being processed, but strafing in a direction is.
A demo of this occurring can be found here:
So I got some timestamps of when this occurred in the demo. I have my timer counting down, and the times noted are what time is left on the clock:
The one at 6:13 I believe is the most prevalent one, where I am holding down move forward and strafe right, and end up just strafing right for a few seconds and not moving forward at all.
A fix for this was committed here: https://github.com/odamex/odamex/commit/61c3a65bfe736ae8bb1cd239c944379d65e3af4a
Reproducing the issue:
If the following config is applied and the W and R keys are pressed and held at the same time, when the R key is released, the player should strafe to the right. However, in Odamex 0.8.1, the player spins when the R key is released.
alias +sr50r "+strafe; +right"
alias -sr50r "-strafe; -right"
alias +sr50l "+strafe; +left"
alias -sr50l "-strafe; -left"
bind w +sr50r
bind r +sr50l
*** Bug 1282 has been marked as a duplicate of this bug. ***