diff options
author | Paramat <paramat@users.noreply.github.com> | 2018-05-16 20:49:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 20:49:46 +0100 |
commit | 45e48295d203b653041404a75c6e2744b78ced45 (patch) | |
tree | aaf7ee4d2726a9379489d2cc6ecc059af2a8f8c2 /src/gui/guiEngine.cpp | |
parent | 04f79623a7276a5a09390ac910795ab6c1889dee (diff) | |
download | minetest-45e48295d203b653041404a75c6e2744b78ced45.tar.gz minetest-45e48295d203b653041404a75c6e2744b78ced45.tar.bz2 minetest-45e48295d203b653041404a75c6e2744b78ced45.zip |
Pointed_thing_to_face_pos: Avoid crash when player is inside a node (#7342)
Avoid crash in some situations when player is inside a node, causing
'above' to equal 'under'.
In this situation return 'under' which is the node position very close
to the face position that would normally be returned.
Diffstat (limited to 'src/gui/guiEngine.cpp')
0 files changed, 0 insertions, 0 deletions