Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines
This commit is contained in:
@@ -574,7 +574,7 @@ public:
|
||||
pPlayer->CastSpell(pPlayer, SPELL_CREATE_THORIUM_BROTHERHOOD_CONTRACT_DND, false);
|
||||
}
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ public:
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
switch(uiAction)
|
||||
{
|
||||
case GOSSIP_ACTION_TRADE:
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
break;
|
||||
case GOSSIP_ACTION_INFO_DEF+1:
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_SDA1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+5);
|
||||
|
||||
Reference in New Issue
Block a user