mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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:
4
unruly.c
4
unruly.c
@ -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] ==
|
||||||
|
Reference in New Issue
Block a user