diff options
author | June McEnroe <june@causal.agency> | 2019-03-31 23:08:59 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-31 23:08:59 -0400 |
commit | 9ff49427fbb25789ad812d13772d86d2df226def (patch) | |
tree | 9ab6532244d2b567175f2bc3cfa43e75c491bfd9 | |
parent | Add undo to freecell (diff) | |
download | wep-9ff49427fbb25789ad812d13772d86d2df226def.tar.gz wep-9ff49427fbb25789ad812d13772d86d2df226def.zip |
Fix weird typo
What the hell.
Diffstat (limited to '')
-rw-r--r-- | freecell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |