diff options
author | jsm <jsm@NetBSD.org> | 2000-01-19 19:43:42 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2000-01-19 19:43:42 +0000 |
commit | 423949b3e014b8b034149a88e07715d0aadf02ab (patch) | |
tree | ed23b1a8df8e2ab08334465e92e63965f2a09e5c /robots | |
parent | 5026a88f24eba0358fe364dbad74e3213abed79b (diff) | |
download | bsdgames-darwin-423949b3e014b8b034149a88e07715d0aadf02ab.tar.gz bsdgames-darwin-423949b3e014b8b034149a88e07715d0aadf02ab.tar.zst bsdgames-darwin-423949b3e014b8b034149a88e07715d0aadf02ab.zip |
Ensure correct prompt asking about another game is given at the end of
each game.
Bug report and fix from Malcolm Parsons <malcolm@bits.bris.ac.uk>.
Diffstat (limited to 'robots')
-rw-r--r-- | robots/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/robots/main.c b/robots/main.c index e772774a..b5850402 100644 --- a/robots/main.c +++ b/robots/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.14 2000/01/19 19:19:43 jsm Exp $ */ +/* $NetBSD: main.c,v 1.15 2000/01/19 19:43:42 jsm Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: main.c,v 1.14 2000/01/19 19:19:43 jsm Exp $"); +__RCSID("$NetBSD: main.c,v 1.15 2000/01/19 19:43:42 jsm Exp $"); #endif #endif /* not lint */ @@ -187,6 +187,7 @@ main(ac, av) sleep(1); refresh(); } + Num_games = 1; } while (!Auto_bot && another()); quit(0); /* NOTREACHED */ |