describe ap (Kirk); delete lfs_mntinvalbuf, lfs_vinvalbuf, add
[unix-history] / usr / src / games / battlestar / battlestar.c
index 5b8fab7..9857630 100644 (file)
@@ -1,6 +1,26 @@
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1983 Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif /* not lint */
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)battlestar.c       1.1 %G%";
-#endif
+static char sccsid[] = "@(#)battlestar.c       5.3 (Berkeley) %G%";
+#endif /* not lint */
+
+/*
+ * Battlestar - a stellar-tropical adventure game
+ *
+ * Originally written by His Lordship, Admiral David W. Horatio Riggle,
+ * on the Cory PDP-11/70, University of California, Berkeley.
+ */
 
 #include "externs.h"
 
 
 #include "externs.h"
 
@@ -14,8 +34,7 @@ char **argv;
        initialize(argc < 2 || strcmp(argv[1], "-r"));
 start:
        news();
        initialize(argc < 2 || strcmp(argv[1], "-r"));
 start:
        news();
-       if (!beenthere[position])
-               beenthere[position] = 1;
+       beenthere[position]++;
        if (notes[LAUNCHED])
                crash();                /* decrements fuel & crash */
        if (matchlight) {
        if (notes[LAUNCHED])
                crash();                /* decrements fuel & crash */
        if (matchlight) {