fix from Ed James for scorefile
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 16 Dec 1987 07:32:06 +0000 (23:32 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 16 Dec 1987 07:32:06 +0000 (23:32 -0800)
SCCS-vsn: games/atc/log.c 5.3

usr/src/games/atc/log.c

index a558291..0b7ebdd 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)log.c      5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)log.c      5.3 (Berkeley) %G%";
 #endif not lint
 
 #include "include.h"
 #endif not lint
 
 #include "include.h"
@@ -139,6 +139,8 @@ log_score(list_em)
                                if (thisscore.time > score[i].time) {
                                        score[i].time = thisscore.time;
                                        score[i].planes = thisscore.planes;
                                if (thisscore.time > score[i].time) {
                                        score[i].time = thisscore.time;
                                        score[i].planes = thisscore.planes;
+                                       score[i].real_time =
+                                               thisscore.real_time;
                                        changed++;
                                }
                                found++;
                                        changed++;
                                }
                                found++;