Added "weapon_1" and "weapon_2" to Zone.SetEntityAttribute

This commit is contained in:
Akkadius 2014-12-08 05:40:38 -06:00
parent 910ee66fce
commit 6edb4c2b37

View File

@ -329,6 +329,7 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
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); }
if (params[1] == "weapon_1"){ ent->WearChange(7, atoi(params[2].c_str()), 0); }
if (params[1] == "weapon_2"){ ent->WearChange(8, atoi(params[2].c_str()), 0); }
}
}