Warning fixes and some random cleanup here and there
This commit is contained in:
1 parent
e5d23103f3
commit
f495e0efe4
123 files changed
+682
-800
No files matched your search
@@ -153,13 +153,13 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 uiAction)
|
||||
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action)
|
||||
{
|
||||
player->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_TRAIN)
|
||||
if (action == GOSSIP_ACTION_TRAIN)
|
||||
player->GetSession()->SendTrainerList(creature->GetGUID());
|
||||
|
||||
if (uiAction == GOSSIP_ACTION_TRADE)
|
||||
if (action == GOSSIP_ACTION_TRADE)
|
||||
player->GetSession()->SendListInventory(creature->GetGUID());
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user