Double jump impulse is different if movement key is pressed/released on same frame

Altimor

Active member
Gives 75% impulse if pressed on same frame (not tick, fps dependent) and 25% if released, probably from CInput::KeyState or s2 equivalent. input_downimpulsevalue and input_upimpulsevalue have no effect. The 75%/25% code path should only be for press+release or release+press on the same frame/tick going by s1, so that getting hit may be a separate bug related to the input duplication stuff.
 

Similar threads

Back
Top