Add "gender" to Zone.SetEntityAttribute

This commit is contained in:
Akkadius 2014-12-08 05:39:54 -06:00
parent f662141f86
commit 910ee66fce

View File

@ -328,5 +328,7 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
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); }
if (params[1] == "gender"){ ent->SendIllusionPacket(0, atoi(params[2].c_str()), 0xFF, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0); }
}
}