initialize people to 0
authorEdward Wang <edward@ucbvax.Berkeley.EDU>
Wed, 22 Jan 1986 10:10:22 +0000 (02:10 -0800)
committerEdward Wang <edward@ucbvax.Berkeley.EDU>
Wed, 22 Jan 1986 10:10:22 +0000 (02:10 -0800)
SCCS-vsn: games/sail/dr_main.c 5.2

usr/src/games/sail/dr_main.c

index b8c9943..b149069 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)dr_main.c  5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)dr_main.c  5.2 (Berkeley) %G%";
 #endif not lint
 
 #include "driver.h"
 #endif not lint
 
 #include "driver.h"
@@ -52,6 +52,7 @@ dr_main()
        }
        windspeed = cc->windspeed;
        winddir = cc->winddir;
        }
        windspeed = cc->windspeed;
        winddir = cc->winddir;
+       people = 0;
        for (;;) {
                sleep(7);
                if (Sync() < 0) {
        for (;;) {
                sleep(7);
                if (Sync() < 0) {