Backspace can now go back in outer_ttt when in inner
This commit is contained in:
parent
83df11530c
commit
283bd63877
1 changed files with 6 additions and 1 deletions
|
@ -128,7 +128,12 @@ void set_next_player_move(s_move * m, p_view v)
|
|||
case KEY_BACKSPACE:
|
||||
case 127:
|
||||
case '\b':
|
||||
if ( outer_selected == true && v->p_uttt->inception_level == 2 ) {
|
||||
outer_selected = false;
|
||||
}
|
||||
else {
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
case KEY_RIGHT:
|
||||
if ( outer_selected ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue