diff options
Diffstat (limited to 'games/cribbage/support.c')
-rw-r--r-- | games/cribbage/support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/cribbage/support.c b/games/cribbage/support.c index 639151b..bc22ca6 100644 --- a/games/cribbage/support.c +++ b/games/cribbage/support.c @@ -188,8 +188,8 @@ chkscr(scr, inc) myturn = (scr == &cscore); if (inc != 0) { - prpeg(Lastscore[myturn], '.', myturn); - Lastscore[myturn] = *scr; + prpeg(Lastscore[myturn ? 1 : 0], '.', myturn); + Lastscore[myturn ? 1 : 0] = *scr; *scr += inc; prpeg(*scr, PEG, myturn); refresh(); |