]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - larn/main.c
Move the playerids file to /var/games, as suggest by Rafal Boni.
[bsdgames-darwin.git] / larn / main.c
index dbe0c89d3a69589d70d8b0a91abecb7a7b011a28..740e0870d6acee91284f4a2ef8939121d2abae4b 100644 (file)
@@ -1,3 +1,7 @@
+#ifndef lint
+static char rcsid[] = "$Id: main.c,v 1.3 1993/08/02 17:20:07 mycroft Exp $";
+#endif /* not lint */
+
 /*     main.c          */
 #include <sys/types.h>
 #include "header.h"
@@ -578,8 +582,8 @@ parse()
                                                for (i=0; i<MAXY; i++)
                                                        for (j=0; j<MAXX; j++)  know[j][i]=1;
                                                for (i=0; i<SPNUM; i++) spelknow[i]=1;
-                                               for (i=0; i<MAXSCROLL; i++)  scrollname[i][0]=' ';
-                                               for (i=0; i<MAXPOTION; i++)  potionname[i][0]=' ';
+                                               for (i=0; i<MAXSCROLL; i++)  scrollname[i]=scrollhide[i];
+                                               for (i=0; i<MAXPOTION; i++)  potionname[i]=potionhide[i];
                                                }
                                                for (i=0; i<MAXSCROLL; i++)
                                                  if (strlen(scrollname[i])>2) /* no null items */