Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines
This commit is contained in:
@@ -287,7 +287,7 @@ public:
|
||||
pPlayer->SEND_GOSSIP_MENU(pPlayer->GetGossipTextId(pCreature), pCreature->GetGUID());
|
||||
break;
|
||||
case GOSSIP_ACTION_TRADE:
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -417,7 +417,7 @@ public:
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -578,7 +578,7 @@ public:
|
||||
switch (uiAction)
|
||||
{
|
||||
case GOSSIP_ACTION_TRADE:
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
break;
|
||||
case GOSSIP_ACTION_INFO_DEF:
|
||||
pPlayer->ADD_GOSSIP_ITEM(0, GOSSIP_ORONOK2, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
|
||||
|
||||
@@ -210,7 +210,7 @@ public:
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -610,7 +610,7 @@ public:
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -288,9 +288,7 @@ public:
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
{
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
}
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
return true;
|
||||
}
|
||||
};
|
||||
@@ -415,7 +413,7 @@ public:
|
||||
pPlayer->SEND_GOSSIP_MENU(GOSSIP_TEXTID_TIMOTHY_DANIELS1, pCreature->GetGUID());
|
||||
break;
|
||||
case GOSSIP_ACTION_TRADE:
|
||||
pPlayer->SEND_VENDORLIST(pCreature->GetGUID());
|
||||
pPlayer->GetSession()->SendListInventory(pCreature->GetGUID());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user