From 8d4b76829753b3db9020ff1f68fb4b0a57025ed3 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 31 Mar 2013 20:02:03 -0400 Subject: Add Ore generation flags, implement ore absolute height --- src/scriptapi.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/scriptapi.cpp') 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"); -- cgit v1.2.3