mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix bug where arrow replaces tile at edge of board by returning false
from figureNextLoc unless an empty space found.
This commit is contained in:
parent
704e60ef4c
commit
ef4d986a45
1 changed files with 1 additions and 1 deletions
|
@ -2994,10 +2994,10 @@ figureNextLoc( BoardCtxt* board, XP_Key cursorKey,
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
result = XP_TRUE;
|
|
||||||
*useWhat += incr;
|
*useWhat += incr;
|
||||||
if ( forceFirst
|
if ( forceFirst
|
||||||
|| !cellOccupied( board, *colP, *rowP, inclPending ) ) {
|
|| !cellOccupied( board, *colP, *rowP, inclPending ) ) {
|
||||||
|
result = XP_TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue