Don't skip over occupied tiles when moving cursor unless alt key is

down.  Smartphone doesn't have an alt key, and this
simplier-to-understand behavior should be the default.
This commit is contained in:
ehouse 2008-11-02 03:43:33 +00:00
parent ff2bef6711
commit 8492bc7c7a

View file

@ -2628,7 +2628,7 @@ board_moveCursor( BoardCtxt* board, XP_Key cursorKey, XP_Bool preflightOnly,
XP_Bool altSet;
cursorKey = stripAlt( cursorKey, &altSet );
changed = figureNextLoc( board, cursorKey, XP_FALSE, altSet,
changed = figureNextLoc( board, cursorKey, XP_FALSE, !altSet,
&col, &row, up );
if ( changed && !preflightOnly ) {
invalCell( board, loc.col, loc.row );