diff options
author | Nathanaƫl Courant <Ekdohibs@users.noreply.github.com> | 2016-04-06 01:11:36 +0200 |
---|---|---|
committer | est31 <est31@users.noreply.github.com> | 2016-04-06 01:11:36 +0200 |
commit | 15e1dcc020ca5c64e4b5b306529e513cb2b97bef (patch) | |
tree | e37f2fbc1e52b76cc2fe0fa50d5fe8d1214cbb3a /src/unittest/test_serialization.cpp | |
parent | 24b32ab09d1967866ddc092cadc6f6d678dac0c6 (diff) | |
download | minetest-15e1dcc020ca5c64e4b5b306529e513cb2b97bef.tar.gz minetest-15e1dcc020ca5c64e4b5b306529e513cb2b97bef.tar.bz2 minetest-15e1dcc020ca5c64e4b5b306529e513cb2b97bef.zip |
Fix #3955 (player dying on login).
It was caused by player not moving because fall was prevented, but their
velocity still increasing, causing fatal fall damage when world was
finally loaded. This commit fixes it by setting player velocity to zero
when the world around them is not loaded.
Diffstat (limited to 'src/unittest/test_serialization.cpp')
0 files changed, 0 insertions, 0 deletions