Skip to content

Commit

Permalink
fix logic in the last interface implementation (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Jan 18, 2025
1 parent 434d295 commit 2c8764c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/transmog_scripts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,10 @@ class npc_transmogrifier : public CreatureScript

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;
}
Expand Down

0 comments on commit 2c8764c

Please sign in to comment.