Backed out changeset 07af7c674639

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-08 14:29:40 +02:00
parent 7d39f4ab22
commit 5afb67e7da
+1 -2
View File
@@ -1344,8 +1344,7 @@ void GameObject::Use(Unit* user)
// 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);
WorldPacket data(SMSG_ENABLE_BARBER_SHOP, 1);
data << uint8(0); // unk 3.1
WorldPacket data(SMSG_ENABLE_BARBER_SHOP, 0);
player->GetSession()->SendPacket(&data);
player->SetStandState(UNIT_STAND_STATE_SIT_LOW_CHAIR+info->barberChair.chairheight);