From 7f6997baf4a7bc34c9bdef29ff841e1697116274 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 8 Dec 2014 05:40:59 -0600 Subject: [PATCH] Added "heading" to Zone.SetEntityAttribute --- zone/remote_call.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zone/remote_call.cpp b/zone/remote_call.cpp index 4c64af556..e58fcbd6d 100644 --- a/zone/remote_call.cpp +++ b/zone/remote_call.cpp @@ -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); } } } \ No newline at end of file