1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00

fixed a compile error in some compilers

This commit is contained in:
Zeno Rogue 2024-06-07 07:54:28 +02:00
parent b74b77463c
commit bb14c55997

View File

@ -1450,7 +1450,7 @@ void mode_screen_for_current() {
dialog::addBreak(100); dialog::addBreak(100);
dialog::addSelItem(XLAT("scores recorded"), its(qty_scores_for[mc]), 's'); dialog::addSelItem(XLAT("scores recorded"), its(qty_scores_for[mc]), 's');
dialog::add_action([mc] { scores::load(); scores::which_mode = mc; }); dialog::add_action([] { scores::load(); scores::which_mode = current_modecode; });
dialog::addSelItem(XLAT("Yendor Challenge"), its(yendor::compute_tscore(mc)), 'y'); dialog::addSelItem(XLAT("Yendor Challenge"), its(yendor::compute_tscore(mc)), 'y');
dialog::add_action([] { dialog::add_action([] {