From c6921b680472dd6c70a85a4278b5868a1e740d99 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Fri, 16 May 2025 17:49:21 -0500 Subject: [PATCH] Fix alchemy (lol) --- src/game/boe.party.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/boe.party.cpp b/src/game/boe.party.cpp index fe814a05..5c7b490e 100644 --- a/src/game/boe.party.cpp +++ b/src/game/boe.party.cpp @@ -2352,8 +2352,10 @@ eAlchemy alch_choice(short pc_num) { std::string n = boost::lexical_cast(i + 1); chooseAlchemy["label" + n].setText(get_str("magic-names", i + 200)); chooseAlchemy["potion" + n].attachClickHandler(alch_choice_event_filter); - if(!univ.party.alchemy[i] || (*eAlchemy(i)).can_make(univ.party[pc_num].skill(eSkill::ALCHEMY))) + if(!univ.party.alchemy[i] || !(*eAlchemy(i)).can_make(univ.party[pc_num].skill(eSkill::ALCHEMY))){ + LOG("potion " + n + "can't be made!"); chooseAlchemy["potion" + n].hide(); + } } std::ostringstream sout; sout << univ.party[pc_num].name;