Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/robots Report scores as auto-bot or not correctly.



details:   https://anonhg.NetBSD.org/src/rev/3229d2c8cf40
branches:  trunk
changeset: 480799:3229d2c8cf40
user:      jsm <jsm%NetBSD.org@localhost>
date:      Thu Jan 20 13:24:11 2000 +0000

description:
Report scores as auto-bot or not correctly.

Bug report and fix from Malcolm Parsons <malcolm%bits.bris.ac.uk@localhost>.

diffstat:

 games/robots/score.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5a8b0df0a5b8 -r 3229d2c8cf40 games/robots/score.c
--- a/games/robots/score.c      Thu Jan 20 13:19:46 2000 +0000
+++ b/games/robots/score.c      Thu Jan 20 13:24:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: score.c,v 1.11 1999/09/18 19:38:54 jsm Exp $   */
+/*     $NetBSD: score.c,v 1.12 2000/01/20 13:24:11 jsm Exp $   */
 
 /*
  * Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)score.c    8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: score.c,v 1.11 1999/09/18 19:38:54 jsm Exp $");
+__RCSID("$NetBSD: score.c,v 1.12 2000/01/20 13:24:11 jsm Exp $");
 #endif
 #endif /* not lint */
 
@@ -177,7 +177,7 @@
                        standout();
                printw("%5.5d %5.5d %-8.8s %-9.9s %5.5d",
                    (scp - Top) + 1, scp->s_score, scp->s_name,
-                   Auto_bot ? "(autobot)" : "", scp->s_level);
+                   scp->s_auto ? "(autobot)" : "", scp->s_level);
                if (!done_show && scp->s_uid == uid && scp->s_score == Score) {
                        standend();
                        done_show = TRUE;



Home | Main Index | Thread Index | Old Index