From ef4d986a459e56a5345e42654b6b7633ad786d56 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 3 Apr 2007 03:36:14 +0000 Subject: [PATCH] fix bug where arrow replaces tile at edge of board by returning false from figureNextLoc unless an empty space found. --- common/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board.c b/common/board.c index f6ec60e67..5c99163fb 100644 --- a/common/board.c +++ b/common/board.c @@ -2994,10 +2994,10 @@ figureNextLoc( BoardCtxt* board, XP_Key cursorKey, #endif break; } - result = XP_TRUE; *useWhat += incr; if ( forceFirst || !cellOccupied( board, *colP, *rowP, inclPending ) ) { + result = XP_TRUE; break; } }