Backed out changeset 07af7c674639
--HG-- branch : trunk
This commit is contained in:
@@ -1344,8 +1344,7 @@ void GameObject::Use(Unit* user)
|
|||||||
// fallback, will always work
|
// fallback, will always work
|
||||||
player->TeleportTo(GetMapId(), GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation(),TELE_TO_NOT_LEAVE_TRANSPORT | TELE_TO_NOT_LEAVE_COMBAT | TELE_TO_NOT_UNSUMMON_PET);
|
player->TeleportTo(GetMapId(), GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation(),TELE_TO_NOT_LEAVE_TRANSPORT | TELE_TO_NOT_LEAVE_COMBAT | TELE_TO_NOT_UNSUMMON_PET);
|
||||||
|
|
||||||
WorldPacket data(SMSG_ENABLE_BARBER_SHOP, 1);
|
WorldPacket data(SMSG_ENABLE_BARBER_SHOP, 0);
|
||||||
data << uint8(0); // unk 3.1
|
|
||||||
player->GetSession()->SendPacket(&data);
|
player->GetSession()->SendPacket(&data);
|
||||||
|
|
||||||
player->SetStandState(UNIT_STAND_STATE_SIT_LOW_CHAIR+info->barberChair.chairheight);
|
player->SetStandState(UNIT_STAND_STATE_SIT_LOW_CHAIR+info->barberChair.chairheight);
|
||||||
|
|||||||
Reference in New Issue
Block a user