aboutsummaryrefslogtreecommitdiff
path: root/src/light.cpp
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2020-07-05 23:45:21 +0100
committerGitHub <noreply@github.com>2020-07-05 23:45:21 +0100
commitdc6318b84aa8c079330b2adc711113f7d4b55961 (patch)
tree1048be737e01552039bc3d0f429cd0e9ad7a562a /src/light.cpp
parentda71313e1df3326c2b9ddb410b963ec25682319e (diff)
downloadminetest-dc6318b84aa8c079330b2adc711113f7d4b55961.tar.gz
minetest-dc6318b84aa8c079330b2adc711113f7d4b55961.tar.bz2
minetest-dc6318b84aa8c079330b2adc711113f7d4b55961.zip
Apply camera smoothing to 'air stepheight' (#10025)
Recent changes to collision code have changed the behaviour of the 'touching_ground' bool in movement code. This had the effect of disabling camera smoothing when 'air stepheight' occurred when jumping onto a node while pressing forwards against the node, causing an unpleasant sharp camera movement. Rewrite the conditions for camera smoothing such that it is applied when jumping.
Diffstat (limited to 'src/light.cpp')
0 files changed, 0 insertions, 0 deletions