aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_flat.cpp
diff options
context:
space:
mode:
authorNathanaƫl Courant <Ekdohibs@users.noreply.github.com>2016-04-06 01:11:36 +0200
committerest31 <est31@users.noreply.github.com>2016-04-06 01:11:36 +0200
commit15e1dcc020ca5c64e4b5b306529e513cb2b97bef (patch)
treee37f2fbc1e52b76cc2fe0fa50d5fe8d1214cbb3a /src/mapgen_flat.cpp
parent24b32ab09d1967866ddc092cadc6f6d678dac0c6 (diff)
downloadminetest-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/mapgen_flat.cpp')
0 files changed, 0 insertions, 0 deletions