Cure Dumbfounding at a healer shop no longer removes enlightening

This commit is contained in:
2024-08-27 09:35:30 -04:00
parent 8cc8f5e2b7
commit da3eb3aad2

View File

@@ -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
}