1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
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
2023-12-25 11:15:41 +01:00
..
integration_tests Replace check for normalized distance =~ value by distance > 0 2023-12-25 11:15:41 +01:00
morrowind_tests [Lua] Add CONTROL_SWITCH functions to types.Player and deprecate them in openmw.input 2023-10-10 01:15:09 +02:00