diff options
author | mycroft <mycroft@NetBSD.org> | 1994-10-21 21:26:06 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1994-10-21 21:26:06 +0000 |
commit | 0de7a2842462617fcce676c7a39028761e0023ef (patch) | |
tree | 49fbe25476b518d0b0021f3cc9c72fbccaa6de8a /larn/diag.c | |
parent | 2e661ca0f5fb299defe891df7762b891afe21f26 (diff) | |
download | bsdgames-darwin-0de7a2842462617fcce676c7a39028761e0023ef.tar.gz bsdgames-darwin-0de7a2842462617fcce676c7a39028761e0023ef.tar.zst bsdgames-darwin-0de7a2842462617fcce676c7a39028761e0023ef.zip |
Fix various problems with the potion/scroll name hiding mechanism.
Diffstat (limited to 'larn/diag.c')
-rw-r--r-- | larn/diag.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/larn/diag.c b/larn/diag.c index e069e609..57c8c47f 100644 --- a/larn/diag.c +++ b/larn/diag.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$Id: diag.c,v 1.3 1993/08/02 17:19:58 mycroft Exp $"; +static char rcsid[] = "$Id: diag.c,v 1.4 1994/10/21 21:26:06 mycroft Exp $"; #endif /* not lint */ /* diag.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -82,9 +82,9 @@ diag() } lprcat("\n\nHere's the list of available potions:\n\n"); - for (i=0; i<MAXPOTION; i++) lprintf("%20s\n",&potionname[i][1]); + for (i=0; i<MAXPOTION; i++) lprintf("%20s\n",&potionhide[i][1]); lprcat("\n\nHere's the list of available scrolls:\n\n"); - for (i=0; i<MAXSCROLL; i++) lprintf("%20s\n",&scrollname[i][1]); + for (i=0; i<MAXSCROLL; i++) lprintf("%20s\n",&scrollhide[i][1]); lprcat("\n\nHere's the spell list:\n\n"); lprcat("spell name description\n"); lprcat("-------------------------------------------------------------------------------------------\n\n"); |