Update commented out perm_invent stuff
This commit is contained in:
+2
-2
@@ -2906,7 +2906,7 @@ int NetHackQtMenuWindow::SelectMenu(int h, MENU_ITEM_P **menu_list)
|
|||||||
if (dialog->result()<0)
|
if (dialog->result()<0)
|
||||||
qApp->enter_loop();
|
qApp->enter_loop();
|
||||||
}
|
}
|
||||||
//if ( (nhid != WIN_INVEN || !flags.perm_invent) ) // doesn't work yet
|
//if ( (nhid != WIN_INVEN || !iflags.perm_invent) ) // doesn't work yet
|
||||||
{
|
{
|
||||||
dialog->hide();
|
dialog->hide();
|
||||||
}
|
}
|
||||||
@@ -4840,7 +4840,7 @@ void NetHackQtBind::qt_update_inventory()
|
|||||||
if (main)
|
if (main)
|
||||||
main->updateInventory();
|
main->updateInventory();
|
||||||
/* doesn't work yet
|
/* doesn't work yet
|
||||||
if (program_state.something_worth_saving && flags.perm_invent)
|
if (program_state.something_worth_saving && iflags.perm_invent)
|
||||||
display_inventory(NULL, FALSE);
|
display_inventory(NULL, FALSE);
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -401,7 +401,7 @@ void NetHackQtBind::qt_update_inventory()
|
|||||||
if (main)
|
if (main)
|
||||||
main->updateInventory();
|
main->updateInventory();
|
||||||
/* doesn't work yet
|
/* doesn't work yet
|
||||||
if (program_state.something_worth_saving && flags.perm_invent)
|
if (program_state.something_worth_saving && iflags.perm_invent)
|
||||||
display_inventory(NULL, false);
|
display_inventory(NULL, false);
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user