diff options
author | Weblate <42@minetest.ru> | 2013-04-03 20:32:13 +0200 |
---|---|---|
committer | Weblate <42@minetest.ru> | 2013-04-03 20:32:13 +0200 |
commit | 82709549ff61b4963e8b446fca4ead114650ce1a (patch) | |
tree | 691bea32cd002742a6f844b2fe4e74a08aa95296 /src/scriptapi.cpp | |
parent | 6e96bc98ded56ebefb5e597f3d8bee4d4d692dd8 (diff) | |
parent | 9ff8012655f13269f33d406f024374c67b650a9a (diff) | |
download | minetest-82709549ff61b4963e8b446fca4ead114650ce1a.tar.gz minetest-82709549ff61b4963e8b446fca4ead114650ce1a.tar.bz2 minetest-82709549ff61b4963e8b446fca4ead114650ce1a.zip |
Merge remote branch 'origin/master'
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r-- | src/scriptapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index 81fcc08d3..c372456d4 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -717,6 +717,7 @@ static int l_register_ore(lua_State *L) ore->clust_size = getintfield_default(L, index, "clust_size", 0); ore->height_min = getintfield_default(L, index, "height_min", 0); ore->height_max = getintfield_default(L, index, "height_max", 0); + ore->flags = getflagsfield(L, index, "flags", flagdesc_ore); ore->nthresh = getfloatfield_default(L, index, "noise_threshhold", 0.); lua_getfield(L, index, "noise_params"); |