Core/Objects: ported changes for the collision height changes when mounting up
This commit is contained in:
1 parent
038576a919
commit
da25314178
3 files changed
+10
-7
No files matched your search
@@ -533,6 +533,7 @@ bool Player::Create(ObjectGuid::LowType guidlow, CharacterCreateInfo* createInfo
|
||||
SetByteValue(UNIT_FIELD_BYTES_0, UNIT_BYTES_0_OFFSET_GENDER, createInfo->Gender);
|
||||
SetByteValue(UNIT_FIELD_BYTES_0, UNIT_BYTES_0_OFFSET_POWER_TYPE, powertype);
|
||||
InitDisplayIds();
|
||||
UpdatePositionData();
|
||||
if (sWorld->getIntConfig(CONFIG_GAME_TYPE) == REALM_TYPE_PVP || sWorld->getIntConfig(CONFIG_GAME_TYPE) == REALM_TYPE_RPPVP)
|
||||
{
|
||||
SetByteFlag(UNIT_FIELD_BYTES_2, UNIT_BYTES_2_OFFSET_PVP_FLAG, UNIT_BYTE2_FLAG_PVP);
|
||||
@@ -23846,7 +23847,6 @@ void Player::SendInitialPacketsBeforeAddToMap()
|
||||
|
||||
void Player::SendInitialPacketsAfterAddToMap()
|
||||
{
|
||||
UpdatePositionData();
|
||||
UpdateVisibilityForPlayer();
|
||||
|
||||
// update zone
|
||||
|
||||
Reference in new issue
Block a user