Honour quantity with special shop items

This commit is contained in:
2015-06-26 21:01:53 -04:00
parent 65241ede56
commit 271d247a8d

View File

@@ -372,7 +372,10 @@ void handle_sale(cShopItem item, int i) {
else {
short s1, s2, s3;
run_special(eSpecCtx::SHOPPING, 0, base_item.item_level, {0,0}, &s1, &s2, &s3);
if(s1 <= 0) take_gold(cost,false);
if(s1 <= 0) {
take_gold(cost,false);
active_shop.takeOne(i);
}
}
break;
case eShopItemType::SKILL: