aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-12-03 17:21:40 +0100
committerPilzAdam <pilzadam@minetest.net>2013-12-03 18:55:25 +0100
commit2330267d2207208799ad347ea0d129c0b4551d61 (patch)
treea4418b0c9fe42ee7944f0531c76f353069735615 /src/script
parent60113bde74784f4a0125ffa005e9404fbd5cb5b1 (diff)
downloadminetest-2330267d2207208799ad347ea0d129c0b4551d61.tar.gz
minetest-2330267d2207208799ad347ea0d129c0b4551d61.tar.bz2
minetest-2330267d2207208799ad347ea0d129c0b4551d61.zip
Shaders rework.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/common/c_content.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp
index fd98e9480..d58479042 100644
--- a/src/script/common/c_content.cpp
+++ b/src/script/common/c_content.cpp
@@ -428,6 +428,9 @@ ContentFeatures read_content_features(lua_State *L, int index)
f.selection_box = read_nodebox(L, -1);
lua_pop(L, 1);
+ f.waving = getintfield_default(L, index,
+ "waving", f.waving);
+
// Set to true if paramtype used to be 'facedir_simple'
getboolfield(L, index, "legacy_facedir_simple", f.legacy_facedir_simple);
// Set to true if wall_mounted used to be set to true