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