diff options
author | paramat <paramat@users.noreply.github.com> | 2017-06-23 21:49:26 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-06-24 01:48:29 +0100 |
commit | 34e8e0e5ce2887391f55d5d7285088ec2c0f5761 (patch) | |
tree | cbdb790628c8ac6d0311a20cf3e120b03c00a9fe /src/player.h | |
parent | 9a77397fbfb95a0b45ed33831291259626968500 (diff) | |
download | minetest-34e8e0e5ce2887391f55d5d7285088ec2c0f5761.tar.gz minetest-34e8e0e5ce2887391f55d5d7285088ec2c0f5761.tar.bz2 minetest-34e8e0e5ce2887391f55d5d7285088ec2c0f5761.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/player.h')
0 files changed, 0 insertions, 0 deletions