Trivial bug in rogue 5.3's inventory
Mike Laman
laman at sdcsvax.UUCP
Sat Aug 11 13:06:00 AEST 1984
If one uses the indiviual inventory ('I') in 5.3, the pack character that it
prints out is ALWAYS 'a'. Start up a game and drop everything but one item
that you know is NOT the 'a'th item in our pack. Now do an 'I'. It is
intelligent enough to know you have only one pack item, so it prints out
the item without prompting you. BUT, it ALWAYS prints out a pack character
of 'a'. I would bet that this is an oversight from the conversion of pack
handling that used to shuffle the pack objects to the "lowest" unused
letter when an item was dropped, an so the assumption was correct.
The fix is simple: In "picky_inven()" modify the second "msg()" call to
use a "%c) %s" for the first argument and add a second argument to print out
the pack character.
Mike Laman
UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!laman
More information about the Net.bugs
mailing list