diff options
author | megamage <none@none> | 2009-01-31 14:41:36 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-31 14:41:36 -0600 |
commit | 4074b481f0a95bec47d8ce9ed275acf46ff95a8e (patch) | |
tree | c78273cbaf2fffef0ce54a9d0c1ccefb8871ce70 /src/game/GameObject.cpp | |
parent | d20eaef1d6c7b8d629347b51583cbcf954ff96ed (diff) |
*Update to Mangos 7206.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.cpp')
-rw-r--r-- | src/game/GameObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 99fe5f725bc..58ffb787a15 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -969,7 +969,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); } - player->SetStandState(PLAYER_STATE_SIT_LOW_CHAIR+info->chair.height); + player->SetStandState(UNIT_STAND_STATE_SIT_LOW_CHAIR+info->chair.height); return; } //big gun, its a spell/aura @@ -1280,7 +1280,7 @@ void GameObject::Use(Unit* user) WorldPacket data(SMSG_ENABLE_BARBER_SHOP, 0); player->GetSession()->SendPacket(&data); - player->SetStandState(PLAYER_STATE_SIT_LOW_CHAIR+info->barberChair.chairheight); + player->SetStandState(UNIT_STAND_STATE_SIT_LOW_CHAIR+info->barberChair.chairheight); return; } default: |