summaryrefslogtreecommitdiff
path: root/src/craftdef.cpp
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-06-23 21:49:26 +0100
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commit6e0557e20c7347f2196c8c76f84d647f8699ec78 (patch)
treea9432d18b010c1226e4fa9441f841d7da5a4da46 /src/craftdef.cpp
parent0c91c65a1147049a0a97ef3120a025401f60c5d7 (diff)
downloadminetest-6e0557e20c7347f2196c8c76f84d647f8699ec78.tar.gz
minetest-6e0557e20c7347f2196c8c76f84d647f8699ec78.tar.bz2
minetest-6e0557e20c7347f2196c8c76f84d647f8699ec78.zip
Mgv7: Avoid divide-by-zero errors
Some settings of paramters can cause mgv7 variables to be -inf, nan or -nan. This can cause massive vertical columns of water to appear above sea level.
Diffstat (limited to 'src/craftdef.cpp')
0 files changed, 0 insertions, 0 deletions