summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_disassembler.cpp
diff options
context:
space:
mode:
authorMark Wilson <23439518+wlsnmrk@users.noreply.github.com>2024-03-27 11:17:40 -0400
committerMark Wilson <23439518+wlsnmrk@users.noreply.github.com>2024-03-27 11:17:40 -0400
commit41e70db8b1e96af275885cf73d2134ceb3150dba (patch)
tree4a992f479de4fdd0d4b25dd90fa526159715b08b /modules/gdscript/gdscript_disassembler.cpp
parent7d151c83811f8ac8873439826c16d88c83aba12f (diff)
downloadredot-engine-41e70db8b1e96af275885cf73d2134ceb3150dba.tar.gz
Fix action_press() by clamping strength to 0, 1
Changed Input.action_press() treatment of strength parameter to match behavior of InputEventAction and documentation, by clamping between 0 and 1. Fixes Input.get_action_strength() returning values over 1 when large values are passed to Input.action_press().
Diffstat (limited to 'modules/gdscript/gdscript_disassembler.cpp')
0 files changed, 0 insertions, 0 deletions