aboutsummaryrefslogtreecommitdiff
path: root/src/content_nodemeta.cpp
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-09-26 23:21:33 +0100
committerparamat <mat.gregory@virginmedia.com>2016-09-30 18:56:39 +0100
commit56ea77ea96b62059c03ba53c15da56c72ea7e140 (patch)
tree093d8427da24e6cee15096272274271241fdb6d2 /src/content_nodemeta.cpp
parent33a606c034a6dfea4a011b6d69077455bbb56746 (diff)
downloadminetest-56ea77ea96b62059c03ba53c15da56c72ea7e140.tar.gz
minetest-56ea77ea96b62059c03ba53c15da56c72ea7e140.tar.bz2
minetest-56ea77ea96b62059c03ba53c15da56c72ea7e140.zip
Mgv7: Avoid mid-air spawn on disabled mountain terrain, optimise function
'getSpawnLevelAtPoint()' did not account for disabled mountains, it was possible to be spawned in mid-air where a mountain surface would have been. Avoid check for river area if rivers are disabled.
Diffstat (limited to 'src/content_nodemeta.cpp')
0 files changed, 0 insertions, 0 deletions