1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

dialog:: list used in inv

This commit is contained in:
Zeno Rogue 2022-10-21 18:29:58 +02:00
parent 65095edea8
commit cb4955e397

View File

@ -508,8 +508,11 @@ EX namespace inv {
orbmap.clear();
which = itNone;
if(plain) dialog::init(mirroring ? XLAT("mirror what?") : XLAT("inventory"), forecolor, 150, 100);
if(plain) {
dialog::init(mirroring ? XLAT("mirror what?") : XLAT("inventory"), forecolor, 150, 100);
dialog::start_list(2000, 2000);
}
int j = 0, oc = 6;
if(1) {
@ -562,7 +565,8 @@ EX namespace inv {
}
if(plain) {
dialog::addBreak(750);
dialog::end_list();
dialog::addBreak(50);
dialog::addItem(XLAT("help"), SDLK_F1);
dialog::addItem(XLAT("return to the game"), 'i');
dialog::display();