about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--freecell.c2
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;
 	}
sg'> 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that. 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe