Added "heading" to Zone.SetEntityAttribute

This commit is contained in:
Akkadius 2014-12-08 05:40:59 -06:00
parent 6edb4c2b37
commit 7f6997baf4

View File

@ -331,5 +331,6 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
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); }
if (params[1] == "heading"){ ent->GMMove(ent->GetX(), ent->GetY(), ent->GetZ(), atoi(params[2].c_str()), true); }
}
}