summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--klondike.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/klondike.c b/klondike.c
index b899eb0..dfb893e 100644
--- a/klondike.c
+++ b/klondike.c
@@ -516,6 +516,16 @@ int Klondike(int draw, int thoughtful)
if (show)
{
+ erase();
+
+ DrawCard(0, 0, TRUE, TopOfPile(&pile));
+ DrawCard(0, 4, FALSE, TopOfPile(&turned));
+
+ DrawCard(0, 10, FALSE, TopOfPile(&hearts));
+ DrawCard(0, 15, FALSE, TopOfPile(&diamonds));
+ DrawCard(0, 20, FALSE, TopOfPile(&spades));
+ DrawCard(0, 25, FALSE, TopOfPile(&clubs));
+
for(f = 0; f < 7; f++)
{
for(n = 0; n < column_down[f].no; n++)
@@ -525,7 +535,7 @@ int Klondike(int draw, int thoughtful)
for(n = 0; n < column_up[f].no; n++)
{
- DrawCard(2 + column_down[f].no + n, 1 + f * 5,
+ DrawCard(2 + column_down[f].no + n + 1, 1 + f * 5,
FALSE, column_up[f].card[n]);
}
}