Fix threshold type
authorest31 <MTest31@outlook.com>
Mon, 7 Dec 2015 08:42:39 +0000 (09:42 +0100)
committerest31 <MTest31@outlook.com>
Mon, 7 Dec 2015 08:57:45 +0000 (09:57 +0100)
commit51e8c2b27786c050f0271eeeaed5eea17d62f0a0
treee56eeb4468685fc8533cc2ae77ca138603db1a96
parent9a5a538e8d1981fb3c2dd69ca3d37e4f9c426cf5
Fix threshold type

Fix the type of the threshold value for mapgen.
The commit

a78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4 "Fix spelling of noise_threshold"

has changed it to be read as int, but it can have non-integral values too.

Thanks to @kwolekr for pointing this out.
src/script/lua_api/l_mapgen.cpp