Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines

This commit is contained in:
Shauren
2011-05-26 23:31:46 +02:00
parent 7abb302d8f
commit a644206f88
21 changed files with 34 additions and 40 deletions
@@ -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);