diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2021-08-16 00:53:01 -0400 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2021-08-16 00:53:01 -0400 |
commit | ce43781cb37adc5fd25555864b1001b9ab23de94 (patch) | |
tree | 0df7b531fc803b235adf6daeb556feaf5e907088 /modules/jsonrpc | |
parent | 1ed00dca882118598d14eae315f608af9de758cf (diff) |
Fix input methods returning zero strength when pressed status not requested
Fixes behavior of these methods:
`InputMap::event_get_action_status`
`InputEvent*::action_match`
Previously when `p_pressed` was `nullptr`, `p_strength` would be set to
`0.0f` regardless of event strength. This affected `InputEventAction` events
processed by `Input.parse_input_event` for example.
Regression found in afa89c9eea5c99
Diffstat (limited to 'modules/jsonrpc')
0 files changed, 0 insertions, 0 deletions