summaryrefslogtreecommitdiff
path: root/src/genericobject.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/genericobject.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/genericobject.h')
-rw-r--r--src/genericobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genericobject.h b/src/genericobject.h
index 854950d27..2233e4ea0 100644
--- a/src/genericobject.h
+++ b/src/genericobject.h
@@ -34,7 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define GENERIC_CMD_SET_BONE_POSITION 7
#define GENERIC_CMD_SET_ATTACHMENT 8
#define GENERIC_CMD_SET_PHYSICS_OVERRIDE 9
-#define GENERIC_CMD_SET_NAMETAG_COLOR 10
+#define GENERIC_CMD_UPDATE_NAMETAG_ATTRIBUTES 10
#include "object_properties.h"
std::string gob_cmd_set_properties(const ObjectProperties &prop);
@@ -73,7 +73,7 @@ std::string gob_cmd_update_bone_position(std::string bone, v3f position, v3f rot
std::string gob_cmd_update_attachment(int parent_id, std::string bone, v3f position, v3f rotation);
-std::string gob_cmd_set_nametag_color(video::SColor color);
+std::string gob_cmd_update_nametag_attributes(video::SColor color);
#endif