From 9ff49427fbb25789ad812d13772d86d2df226def Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 31 Mar 2019 23:08:59 -0400 Subject: Fix weird typo What the hell. --- freecell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freecell.c b/freecell.c index bc38bf8..2855219 100644 --- a/freecell.c +++ b/freecell.c @@ -113,7 +113,7 @@ static bool gameMove(uint dst, Card card) { if (top && cardRank(card) != cardRank(top) + 1) return false; kingFace = Cards_KingRight; } - if (top >= Tableau1 && top <= Tableau8) { + if (dst >= Tableau1 && dst <= Tableau8) { if (top && cardColor(card) == cardColor(top)) return false; if (top && cardRank(card) != cardRank(top) - 1) return false; } -- cgit 1.4.1