diff options
author | cgd <cgd@NetBSD.org> | 1995-04-22 07:34:00 +0000 |
---|---|---|
committer | cgd <cgd@NetBSD.org> | 1995-04-22 07:34:00 +0000 |
commit | dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0 (patch) | |
tree | 427ce5700facaf7b8a5247179c51ae56ceea5600 /larn/object.c | |
parent | 44369ce4e3c21a83d2a75c1e10449542ebe574a3 (diff) | |
download | bsdgames-darwin-dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0.tar.gz bsdgames-darwin-dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0.tar.zst bsdgames-darwin-dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0.zip |
clean up handling of fortunes a bit.
Diffstat (limited to 'larn/object.c')
-rw-r--r-- | larn/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/larn/object.c b/larn/object.c index d71f6734..6f701bff 100644 --- a/larn/object.c +++ b/larn/object.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$NetBSD: object.c,v 1.5 1995/03/23 08:34:05 cgd Exp $"; +static char rcsid[] = "$NetBSD: object.c,v 1.6 1995/04/22 07:34:09 cgd Exp $"; #endif /* not lint */ /* object.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -731,7 +731,7 @@ ocookie() case 'e': lprcat("eat\nThe cookie tasted good."); forget(); /* no more cookie */ if (c[BLINDCOUNT]) return; - if (!(p=fortune(fortfile))) return; + if (!(p=fortune())) return; lprcat(" A message inside the cookie reads:\n"); lprcat(p); return; |