Bug in 5.3 Rogue ...

davis at hplabs.UUCP davis at hplabs.UUCP
Tue Dec 20 05:08:46 AEST 1983


That bug has been in rogue versions for a long time.  Here is my
fix to the 3.6 rogue that I keep.

The Old code (weapons.c):
    if (pr)
        msg("Your %s vanishes as it hits the ground.", w_names[obj->o_which]);
    discard(item);

The Modified code (weapons.c):
    if (pr)
        /* Hello the following had had a bug */
        /* Fixed 11/83 by JWD  */
        if ( obj->o_type == WEAPON )
           {
        msg("Your %s vanishes as it hits the ground.", w_names[obj->o_which]);
           } else {
        msg("%s vanishes as it hits the ground.",inv_name(obj,TRUE));
           }
    discard(item);

This will not help too much for 5.3 unless this gets to Ken since I (at least)
don't have sources for 5.3.

-- 
					Jim Davis (James W Davis)
					...!ucbvax!hplabs!davis
					davis.HP-Labs at Rand-Relay
----------------------------------------------------------------



More information about the Net.bugs mailing list