Fix funny message: can't give to dead pcs because 'no item slot'
This commit is contained in:
@@ -334,6 +334,9 @@ void handle_sale(int i) {
|
||||
else if(base_item.variety == eItemType::QUEST) ASB("You already completed this.");
|
||||
else ASB("You own too many of this.");
|
||||
break;
|
||||
// This should not happen:
|
||||
case eBuyStatus::DEAD:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case eShopItemType::ALCHEMY:
|
||||
|
@@ -967,6 +967,10 @@ short select_pc(eSelectPC mode, std::string title, eSkill highlight_highest, boo
|
||||
extra_info = "no item slot";
|
||||
can_pick = false;
|
||||
break;
|
||||
case eBuyStatus::DEAD:
|
||||
// Extra info not really needed, and kind of silly to print
|
||||
can_pick = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user