mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
flip arrow when board flipped
Fixing https://sourceforge.net/p/xwords/bugs/8/, flip the arrow before placing it on top of the tile just returned to the tray.
This commit is contained in:
parent
8f86cf9a77
commit
a221ae43f4
1 changed files with 3 additions and 0 deletions
|
@ -3619,6 +3619,9 @@ replaceLastTile( BoardCtxt* board )
|
|||
XP_Bool isVertical;
|
||||
XP_Bool directionKnown =
|
||||
model_getCurrentMoveIsVertical( board->model, turn, &isVertical );
|
||||
if ( directionKnown && board->isFlipped ) {
|
||||
isVertical = !isVertical;
|
||||
}
|
||||
|
||||
index = -1;
|
||||
model_getCurrentMoveTile( board->model, board->selPlayer, &index,
|
||||
|
|
Loading…
Reference in a new issue