Monster drop item picker go straight to strchoice

This commit is contained in:
2025-05-26 09:14:16 -05:00
parent 49b24f997f
commit 655d911c1a

View File

@@ -1432,7 +1432,7 @@ cMonster edit_monst_abil(cMonster initial,short which,cDialog& parent) {
item_names.push_back(item.full_name);
}
short current = me["loot-item"].getTextAsNum();
short i = get_num_response(0, scenario.scen_items.size()-1, "Which item?", item_names, current, current);
short i = cStringChoice(item_names, "Which item?", &me).show(current);
me["loot-item"].setTextToNum(i);
return true;
});