From 423949b3e014b8b034149a88e07715d0aadf02ab Mon Sep 17 00:00:00 2001 From: jsm Date: Wed, 19 Jan 2000 19:43:42 +0000 Subject: Ensure correct prompt asking about another game is given at the end of each game. Bug report and fix from Malcolm Parsons . --- robots/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'robots') 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 */ -- cgit v1.2.3-56-ge451