From da3eb3aad2756187ce655bfa1d803a101ce658e4 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Tue, 27 Aug 2024 09:35:30 -0400 Subject: [PATCH] Cure Dumbfounding at a healer shop no longer removes enlightening --- src/game/boe.dlgutil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/boe.dlgutil.cpp b/src/game/boe.dlgutil.cpp index ea497409..1efe4da9 100644 --- a/src/game/boe.dlgutil.cpp +++ b/src/game/boe.dlgutil.cpp @@ -325,8 +325,8 @@ void handle_sale(cShopItem item, int i) { univ.current_pc().main_status = eMainStatus::ALIVE; break; case eShopItemType::CURE_DUMBFOUNDING: - // TODO: Don't cure anti-dumbfounding! - univ.current_pc().status[eStatus::DUMB] = 0; + if(univ.current_pc().status[eStatus::DUMB] > 0) + univ.current_pc().status[eStatus::DUMB] = 0; break; default: break; // Silence compiler warning }