Make Unruly's keyboard controls match the documentation and other puzzles in

the collection -- now Enter = black and Space = white.

[originally from svn r9770]
This commit is contained in:
Jacob Nevins
2013-03-10 12:49:06 +00:00
parent 0d62b4a688
commit 9dcba6a8cf

View File

@ -1362,9 +1362,9 @@ static char *interpret_move(game_state *state, game_ui *ui,
c = '-'; c = '-';
/* Cycle through options */ /* Cycle through options */
else if (button == CURSOR_SELECT || button == RIGHT_BUTTON) else if (button == CURSOR_SELECT2 || button == RIGHT_BUTTON)
c = (i == EMPTY ? '0' : i == N_ZERO ? '1' : '-'); c = (i == EMPTY ? '0' : i == N_ZERO ? '1' : '-');
else if (button == CURSOR_SELECT2 || button == LEFT_BUTTON) else if (button == CURSOR_SELECT || button == LEFT_BUTTON)
c = (i == EMPTY ? '1' : i == N_ONE ? '0' : '-'); c = (i == EMPTY ? '1' : i == N_ONE ? '0' : '-');
if (state->grid[hy * w2 + hx] == if (state->grid[hy * w2 + hx] ==