summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMai Lavelle <mai.lavelle@gmail.com>2021-08-16 00:53:01 -0400
committerMai Lavelle <mai.lavelle@gmail.com>2021-08-16 00:53:01 -0400
commitce43781cb37adc5fd25555864b1001b9ab23de94 (patch)
tree0df7b531fc803b235adf6daeb556feaf5e907088 /tests
parent1ed00dca882118598d14eae315f608af9de758cf (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 'tests')
0 files changed, 0 insertions, 0 deletions