follow-up, program_state
This commit is contained in:
@@ -498,7 +498,7 @@ void NetHackQtBind::qt_update_inventory(int arg UNUSED)
|
||||
main->updateInventory(); // update the paper doll inventory subset
|
||||
|
||||
/* doesn't work yet
|
||||
if (svp.program_state.something_worth_saving && iflags.perm_invent)
|
||||
if (program_state.something_worth_saving && iflags.perm_invent)
|
||||
display_inventory(NULL, false);
|
||||
*/
|
||||
}
|
||||
@@ -667,7 +667,7 @@ char NetHackQtBind::qt_more()
|
||||
// ^C comment in that routine] when the core triggers --More-- via
|
||||
// done2() -> really_done() -> display_nhwindow(WIN_MESSAGE, TRUE)
|
||||
// (get rid of this if the exec() loop issue gets properly fixed)
|
||||
if (::svp.program_state.gameover)
|
||||
if (::program_state.gameover)
|
||||
return ch; // bypass --More-- and just continue with program exit
|
||||
|
||||
NetHackQtMessageWindow *mesgwin = main ? main->GetMessageWindow() : NULL;
|
||||
|
||||
Reference in New Issue
Block a user