aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-26 02:26:19 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:52 +0200
commit908db7c1d241388eca0a59d9a67f41c1b21205fd (patch)
treed089858f21676f7b9dae76a7580af7c12016869e /src/nodedef.cpp
parent77337271fc7ab3b767c6832424dc7d82cebd33f4 (diff)
downloadminetest-908db7c1d241388eca0a59d9a67f41c1b21205fd.tar.gz
minetest-908db7c1d241388eca0a59d9a67f41c1b21205fd.tar.bz2
minetest-908db7c1d241388eca0a59d9a67f41c1b21205fd.zip
Make node definitions available to Lua
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index c5ad3af01..58ba6d058 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -116,6 +116,9 @@ void ContentFeatures::reset()
used_texturenames.clear();
/*
Actual data
+
+ NOTE: Most of this is always overridden by the default values given
+ in builtin.lua
*/
name = "";
drawtype = NDT_NORMAL;