From f662141f8608c2f6b34566774d1ef1cc581f0cac Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 8 Dec 2014 05:39:29 -0600 Subject: [PATCH] Add "texture" to Zone.SetEntityAttribute --- zone/remote_call.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/remote_call.cpp b/zone/remote_call.cpp index 056a20ec9..b4d90cefd 100644 --- a/zone/remote_call.cpp +++ b/zone/remote_call.cpp @@ -310,7 +310,7 @@ void handle_rc_get_entity_attributes(const std::string &method, const std::strin } } -/* Client -> Server */ +/* Client -> Server :: Zone.SetEntityAttribute */ void handle_rc_set_entity_attribute(const std::string &method, const std::string &connection_id, const std::string &request_id, const std::vector ¶ms) { std::string error; std::map res; @@ -327,5 +327,6 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string if (params[1] == "race"){ ent->SendIllusionPacket(atoi(params[2].c_str())); } if (params[1] == "appearance_effect"){ ent->SendAppearanceEffect(atoi(params[2].c_str()), 0, 0, 0, 0); } if (params[1] == "size"){ ent->ChangeSize(atoi(params[2].c_str())); } + if (params[1] == "texture"){ ent->SendIllusionPacket(0, 0xFF, atoi(params[2].c_str()), 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0); } } } \ No newline at end of file