summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorTeTpaAka <TeTpaAka@users.noreply.github.com>2015-05-15 21:46:56 +0200
committerkwolekr <kwolekr@minetest.net>2015-05-15 16:21:01 -0400
commit18c2f16c138f4b40b4705507b46d24e1518e4705 (patch)
tree2407edb6a3e367ae4875459a4a33e5608488a65a /src/script/lua_api/l_object.h
parent5d1d7c17ea234a01af3a16f31bc0e363ffd150ba (diff)
downloadminetest-18c2f16c138f4b40b4705507b46d24e1518e4705.tar.gz
minetest-18c2f16c138f4b40b4705507b46d24e1518e4705.tar.bz2
minetest-18c2f16c138f4b40b4705507b46d24e1518e4705.zip
Generalize core.get/set_nametag_color into core.get/set_nametag_attributes
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index 1f2931f29..af3ed5ef0 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -240,11 +240,11 @@ private:
// set_eye_offset(self, v3f first pv, v3f third pv)
static int l_set_eye_offset(lua_State *L);
- // set_nametag_color(self, color)
- static int l_set_nametag_color(lua_State *L);
+ // set_nametag_attributes(self, attributes)
+ static int l_set_nametag_attributes(lua_State *L);
- // get_nametag_color(self)
- static int l_get_nametag_color(lua_State *L);
+ // get_nametag_attributes(self)
+ static int l_get_nametag_attributes(lua_State *L);
public:
ObjectRef(ServerActiveObject *object);