Tags: ientium/mangos-tbc
Tags
Follow-up refactoring for client control patch * Player::IsClientControl() moved to Unit::IsClientControlled(), semantics is now reversed and functionality is now extended to include general-purpose check * Unit::GetControllingClientPlayer() renamed to Unit::GetClientControlling() to match previous func and to prevent potential confusion with Unit::GetControllingPlayer() * Battleground control removal was investigated more closely and previous hack was removed. * All unit flags associated with the loss of client control over unit are now confirmed and documented: - Rename UNIT_FLAG_NON_MOVING_DEPRECATED -> UNIT_FLAG_CLIENT_CONTROL_LOST and documented - Documented UNIT_FLAG_UNK_0, added to cleanup list - Additional documentation for UNIT_FLAG_STUNNED, UNIT_FLAG_TAXI_FLIGHT, UNIT_FLAG_CONFUSED, UNIT_FLAG_FLEEING, UNIT_FLAG_POSSESSED