summaryrefslogtreecommitdiffstats
path: root/games/cribbage/crib.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/cribbage/crib.c')
-rw-r--r--games/cribbage/crib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/cribbage/crib.c b/games/cribbage/crib.c
index 9fccc63..fc3c3df 100644
--- a/games/cribbage/crib.c
+++ b/games/cribbage/crib.c
@@ -179,7 +179,6 @@ makeboard()
void
gamescore()
{
- extern int Lastscore[];
if (pgames || cgames) {
mvprintw(SCORE_Y + 1, SCORE_X + 28, "Games: %3d", pgames);
@@ -201,6 +200,7 @@ game()
BOOLEAN flag;
BOOLEAN compcrib;
+ compcrib = FALSE;
makedeck(deck);
shuffle(deck);
if (gamecount == 0) {
@@ -458,7 +458,7 @@ peg(mycrib)
}
Tcnt = 0; /* index to table of cards played */
sum = 0; /* sum of cards played */
- mego = ugo = FALSE;
+ played = mego = ugo = FALSE;
myturn = !mycrib;
for (;;) {
last = TRUE; /* enable last flag */
OpenPOWER on IntegriCloud