Restore the previous watching-menu behaviour: don't require enter keypress to watch.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@495 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
06e783db08
commit
ad13d4eb7b
|
@ -393,6 +393,8 @@ inprogressmenu (int gameid)
|
|||
int title_attr = A_STANDOUT;
|
||||
int selected_attr = A_BOLD;
|
||||
|
||||
int require_enter = 0; /* TODO: make configurable */
|
||||
|
||||
if (sortmode == NUM_SORTMODES)
|
||||
sortmode = globalconfig.sortmode;
|
||||
|
||||
|
@ -574,9 +576,11 @@ inprogressmenu (int gameid)
|
|||
break;
|
||||
|
||||
idx = sidx + offset;
|
||||
if (selected == idx) selected = -1;
|
||||
else selected = idx;
|
||||
break;
|
||||
if (require_enter) {
|
||||
if (selected == idx) selected = -1;
|
||||
else selected = idx;
|
||||
break;
|
||||
} else selected = idx;
|
||||
watchgame:
|
||||
|
||||
/* valid choice has been made */
|
||||
|
|
Loading…
Reference in New Issue