Truncate alchemy ingredients if overlapping recipe cost

This commit is contained in:
2025-05-06 16:53:32 -05:00
parent 5ea7fcd145
commit 51e6da15e2
4 changed files with 24 additions and 3 deletions

View File

@@ -106,6 +106,7 @@ short active_shop_num;
short store_cur_pc = -1;
extern void init_inven_rects();
extern void init_shopping_rects(bool scrollbar);
// For healing shops, other PCs might be able to buy something if
// the active PC can't
@@ -184,6 +185,7 @@ bool start_shop_mode(short which,short cost_adj,std::string store_name, bool can
put_background();
init_shopping_rects(shop_sbar->getMaximum() > 0);
draw_shop_graphics(false,false,area_rect);
put_item_screen(stat_window);