Core/Player: Delay the visibility update when setting the group to prevent crashing when a player enters the world in a group/raid.

Closes issue 4762

--HG--
branch : trunk
This commit is contained in:
linencloth
2010-11-13 23:27:54 +01:00
parent c374f3245a
commit 7beb14b177
+1 -1
View File
@@ -20851,7 +20851,7 @@ void Player::SetGroup(Group *group, int8 subgroup)
m_group.setSubGroup((uint8)subgroup);
}
UpdateObjectVisibility();
UpdateObjectVisibility(false);
}
void Player::SendInitialPacketsBeforeAddToMap()