fix logic in the last interface implementation (#189)

This commit is contained in:
Andrew
2025-01-18 12:47:29 -03:00
committed by GitHub
parent 434d2957ea
commit 2c8764ca12

View File

@@ -543,12 +543,10 @@ public:
bool useVendorInterface = player->GetPlayerSetting("mod-transmog", SETTING_VENDOR_INTERFACE).IsEnabled();
if (sT->GetUseVendorInterface())
useVendorInterface ? ShowTransmogItemsInFakeVendor(player, creature, action) :
ShowTransmogItemsInGossipMenu(player, creature, action, sender);
else
useVendorInterface ? ShowTransmogItemsInGossipMenu(player, creature, action, sender) :
if (sT->GetUseVendorInterface() || useVendorInterface)
ShowTransmogItemsInFakeVendor(player, creature, action);
else
ShowTransmogItemsInGossipMenu(player, creature, action, sender);
break;
}