diff options
author | Trazom62 <none@none> | 2010-02-24 19:28:50 +0100 |
---|---|---|
committer | Trazom62 <none@none> | 2010-02-24 19:28:50 +0100 |
commit | dc6652de5c2551023f44a19496328482aeeaa4ce (patch) | |
tree | 6d01a7a68ba4610579833f8ee9436ad8061153ca /src | |
parent | 768844ec21f37aea1589c8b17289c1d77627b88d (diff) |
Ask confirmation when changing hearth location. Thanks MrSmite.
Fixes issue #135.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts/world/npc_innkeeper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/world/npc_innkeeper.cpp b/src/scripts/world/npc_innkeeper.cpp index 0540a29a2bd..04cd92722d6 100644 --- a/src/scripts/world/npc_innkeeper.cpp +++ b/src/scripts/world/npc_innkeeper.cpp @@ -19,7 +19,7 @@ /* ScriptData SDName: Npc_Innkeeper SDAuthor: WarHead -SD%Complete: 99% - SendBindPoint(pCreature); needs question if you really want to bind before the real bind is done (don't know how atm) +SD%Complete: 99% SDComment: Complete SDCategory: NPCs EndScriptData */ @@ -114,7 +114,7 @@ bool GossipSelect_npc_innkeeper(Player* pPlayer, Creature* pCreature, uint32 uiS switch (uiAction) { case GOSSIP_ACTION_TRADE: pPlayer->SEND_VENDORLIST(pCreature->GetGUID()); break; - case GOSSIP_ACTION_INN: pPlayer->GetSession()->SendBindPoint(pCreature); break; + case GOSSIP_ACTION_INN: pPlayer->SetBindPoint(pCreature->GetGUID()); break; } return true; } |