1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

also cells_drawn_limit displayed in add_cells_drawn

This commit is contained in:
Zeno Rogue 2019-07-31 13:12:35 +02:00
parent ea3e33f23d
commit d4ad45c4da

View File

@ -671,7 +671,7 @@ void loadConfig() {
#endif
void add_cells_drawn(char c = 'C') {
dialog::addSelItem(XLAT("cells drawn"), noclipped ? its(cells_drawn) + " (" + its(noclipped) + ")" : its(cells_drawn), c);
dialog::addSelItem(XLAT("cells drawn"), (noclipped ? its(cells_drawn) + " (" + its(noclipped) + ")" : its(cells_drawn)) + " / " + its(vid.cells_drawn_limit), c);
dialog::add_action([] () {
popScreen();
dialog::editNumber(vid.cells_drawn_limit, 100, 1000000, log(10), 10000, XLAT("limit on cells drawn"),