Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/robots Ensure correct prompt asking about another game...
details: https://anonhg.NetBSD.org/src/rev/2029a4a1df22
branches: trunk
changeset: 480778:2029a4a1df22
user: jsm <jsm%NetBSD.org@localhost>
date: Wed Jan 19 19:43:42 2000 +0000
description:
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@localhost>.
diffstat:
games/robots/main.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c0e1145fcd0e -r 2029a4a1df22 games/robots/main.c
--- a/games/robots/main.c Wed Jan 19 19:19:43 2000 +0000
+++ b/games/robots/main.c Wed Jan 19 19:43:42 2000 +0000
@@ -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 @@
#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 @@
sleep(1);
refresh();
}
+ Num_games = 1;
} while (!Auto_bot && another());
quit(0);
/* NOTREACHED */
Home |
Main Index |
Thread Index |
Old Index