fixup parameter order in 'number of mines'

This commit is contained in:
Zeno Rogue 2019-04-04 17:14:46 +02:00
parent 0929128171
commit ac302500e0
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ void showEuclideanMenu() {
if(specialland == laMinefield && bounded) {
dialog::addSelItem(XLAT("number of mines"), its(bounded_mine_quantity), 'm');
dialog::add_action([] {
dialog::editNumber(bounded_mine_quantity, 0, bounded_mine_max, (bounded_mine_max+5)/10, 1,
dialog::editNumber(bounded_mine_quantity, 0, bounded_mine_max, 1, (bounded_mine_max+5)/10,
XLAT("number of mines"), "");
dialog::reaction = [] {
if(bounded_mine_quantity < 0) bounded_mine_quantity = 0;