summaryrefslogtreecommitdiff
path: root/klondike.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2019-03-28 08:53:30 +0000
committerIan C <ianc@noddybox.co.uk>2019-03-28 08:53:30 +0000
commit9b1b68aa50bdaf2ef85d494731254a8318bcb780 (patch)
treefbf41a917bdcd8706f26bd92bf4a8db4e1a924dc /klondike.c
parente3458fb60ce025598b500645842b82004d15ac29 (diff)
Fixed bug where the draw pile was being inverted when reset.
Diffstat (limited to 'klondike.c')
-rw-r--r--klondike.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/klondike.c b/klondike.c
index b71be07..153cb03 100644
--- a/klondike.c
+++ b/klondike.c
@@ -279,7 +279,7 @@ int Klondike(int draw, int thoughtful)
}
else
{
- SwapPile(&pile, &turned);
+ MovePile(&turned, &pile);
}
break;