fix #3814 (improve setting LOS status in CUnit::ChangeTeam)