You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/scripts/data
elsid 8fe0832b38
Replace check for normalized distance =~ value by distance > 0
We just need to make sure player moved, for how long is not important.

To avoid failures like: https://gitlab.com/OpenMW/openmw/-/jobs/5815281969:

TEST playerForwardRunning		FAILED [string "test.lua"]:80: [string "player.lua"]:44: Normalized forward runned distance: 0.782032 ~= 1.000000
1 year ago
..
integration_tests Replace check for normalized distance =~ value by distance > 0 1 year ago
morrowind_tests [Lua] Add CONTROL_SWITCH functions to `types.Player` and deprecate them in `openmw.input` 1 year ago