Fixes bug found by alpha tester by dragging third tile to left of

divider.  Inval all tiles when a drag ends off any managed space.  We
don't know what tiles have already been moved, and when it's returned
to its initial spot may appear a dup.
This commit is contained in:
eehouse 2010-02-27 18:03:15 +00:00
parent cf9c952fc2
commit b52c9f0d14

View file

@ -270,7 +270,7 @@ dragDropEnd( BoardCtxt* board, XP_U16 xx, XP_U16 yy, XP_Bool* dragged )
} else {
/* We're returning it to start, so will be re-inserted in tray */
if ( OBJ_TRAY == ds->start.obj ) {
invalTrayTilesAbove( board, ds->start.u.tray.index );
board_invalTrayTiles( board, ALLTILES );
}
}