diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-09-26 23:21:33 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-09-30 18:56:39 +0100 |
commit | 56ea77ea96b62059c03ba53c15da56c72ea7e140 (patch) | |
tree | 093d8427da24e6cee15096272274271241fdb6d2 /src/map.h | |
parent | 33a606c034a6dfea4a011b6d69077455bbb56746 (diff) | |
download | minetest-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/map.h')
0 files changed, 0 insertions, 0 deletions