diff options
-rw-r--r-- | snake/snscore/snscore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snake/snscore/snscore.c b/snake/snscore/snscore.c index 482a3a98..6b8c2e4e 100644 --- a/snake/snscore/snscore.c +++ b/snake/snscore/snscore.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)snscore.c 5.7 (Berkeley) 2/28/91";*/ -static char rcsid[] = "$Id: snscore.c,v 1.2 1993/08/01 18:51:03 mycroft Exp $"; +static char rcsid[] = "$Id: snscore.c,v 1.3 1994/04/05 00:42:49 cgd Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -76,6 +76,7 @@ main() printf("Snake players scores to date\n"); fread(&whoallbest, sizeof(short), 1, fd); fread(&allbest, sizeof(short), 1, fd); + noplayers = 0; for (uid=2;;uid++) { if(fread(&score, sizeof(short), 1, fd) == 0) break; |