From 4c529f0ab7190ac4c9e872969f3bba9f768e2be5 Mon Sep 17 00:00:00 2001 From: Murilo Pereira Date: Sun, 5 Jun 2011 17:39:57 -0300 Subject: [PATCH] No need to move the cursor on waste pile. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 6631a56..6c69253 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -200,7 +200,7 @@ static void handle_card_movement(struct cursor *cursor) { } } } - if (destination && *origin == *destination) { + if (maneuvre_stack(*origin) && destination && *origin == *destination) { erase_cursor(cursor); cursor->y--; }