1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Replace deprecated function calls

This commit is contained in:
SmallJoker
2018-07-01 21:44:03 +02:00
committed by Paramat
parent 0df2753a68
commit 255031fc91
12 changed files with 51 additions and 51 deletions

View File

@ -1,7 +1,7 @@
minetest.set_gen_notify({dungeon = true, temple = true})
local function noise3d_integer(noise, pos)
return math.abs(math.floor(noise:get3d(pos) * 0x7fffffff))
return math.abs(math.floor(noise:get_3d(pos) * 0x7fffffff))
end
local function random_sample(rand, list, count)