diff options
Diffstat (limited to 'games/adventure/wizard.c')
-rw-r--r-- | games/adventure/wizard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/adventure/wizard.c b/games/adventure/wizard.c index aad20539674..c01a76509e2 100644 --- a/games/adventure/wizard.c +++ b/games/adventure/wizard.c @@ -46,7 +46,7 @@ static char rcsid[] = "$NetBSD: wizard.c,v 1.3 1995/04/24 12:21:41 cgd Exp $"; #endif #endif /* not lint */ -/* Re-coding of advent in C: privileged operations */ +/* Re-coding of advent in C: privileged operations */ # include "hdr.h" #include <string.h> @@ -59,10 +59,10 @@ int *d,*t; time(tvec); tptr=(int *)localtime(tvec); *d=tptr[7]+365*(tptr[5]-77); /* day since 1977 (mod leap) */ - /* bug: this will overflow in the year 2066 AD */ + /* bug: this will overflow in the year 2066 AD */ /* it will be attributed to Wm the C's millenial celebration */ - *t=tptr[2]*60+tptr[1]; /* and minutes since midnite */ -} /* pretty painless */ + *t=tptr[2]*60+tptr[1]; /* and minutes since midnite */ +} /* pretty painless */ char magic[6]; @@ -98,7 +98,7 @@ Start(n) return(FALSE); } -wizard() /* not as complex as advent/10 (for now) */ +wizard() /* not as complex as advent/10 (for now) */ { register int wiz; char *word,*x; if (!yesm(16,0,7)) return(FALSE); @@ -123,7 +123,7 @@ char *cmdfile; for (c=fname;; c++) if ((*c=getchar())=='\n' || *c == EOF) break; *c=0; - if (save(fname) != 0) return; /* Save failed */ + if (save(fname) != 0) return; /* Save failed */ printf("To resume, say \"adventure %s\".\n", fname); printf("\"With these rooms I might now have been familiarly acquainted.\"\n"); exit(0); |