Add "size" to Zone.SetEntityAttribute

This commit is contained in:
Akkadius 2014-12-08 05:38:52 -06:00
parent 3df5b6da57
commit c5498c66fa

View File

@ -326,5 +326,6 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
if (ent){ if (ent){
if (params[1] == "race"){ ent->SendIllusionPacket(atoi(params[2].c_str())); } 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] == "appearance_effect"){ ent->SendAppearanceEffect(atoi(params[2].c_str()), 0, 0, 0, 0); }
if (params[1] == "size"){ ent->ChangeSize(atoi(params[2].c_str())); }
} }
} }