mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Player): add missing vendor and repair icons to creatures (#23270)
This commit is contained in:
@@ -14374,6 +14374,12 @@ bool Player::CanSeeSpellClickOn(Creature const* c) const
|
||||
*/
|
||||
bool Player::AnyVendorOptionAvailable(uint32 menuId, Creature const* creature) const
|
||||
{
|
||||
{
|
||||
GossipMenuItemsMapBounds menuItemBounds = sObjectMgr->GetGossipMenuItemsMapBounds(menuId);
|
||||
if (menuItemBounds.first == menuItemBounds.second)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::set<uint32> visitedMenus;
|
||||
std::queue<uint32> menusToCheck;
|
||||
menusToCheck.push(menuId);
|
||||
|
||||
Reference in New Issue
Block a user