Ask confirmation when changing hearth location. Thanks MrSmite.
Fixes issue #135. --HG-- branch : trunk
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
/* ScriptData
|
/* ScriptData
|
||||||
SDName: Npc_Innkeeper
|
SDName: Npc_Innkeeper
|
||||||
SDAuthor: WarHead
|
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
|
SDComment: Complete
|
||||||
SDCategory: NPCs
|
SDCategory: NPCs
|
||||||
EndScriptData */
|
EndScriptData */
|
||||||
@@ -114,7 +114,7 @@ bool GossipSelect_npc_innkeeper(Player* pPlayer, Creature* pCreature, uint32 uiS
|
|||||||
switch (uiAction)
|
switch (uiAction)
|
||||||
{
|
{
|
||||||
case GOSSIP_ACTION_TRADE: pPlayer->SEND_VENDORLIST(pCreature->GetGUID()); break;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user