🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #158

Re: Bug in 5.3 Rogue ...

#158
From: davis
Date: Mon, 19 Dec 1983 19:08
28 lines
1483 bytes
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@Rand-Relay
----------------------------------------------------------------
Technical Details
Message-ID: <2088@hplabs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!security!genrad!grkermit!mit-vax!eagle!harpo!seismo!hao!hplabs!davis
References: <83@sdcsvax.UUCP>, <435@eosp1.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1     9/27/83; site hplabs.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!security!genrad!grkermit!mit-vax!eagle!harpo!seismo!hao!hplabs!davis
From: davis@hplabs.UUCP
Newsgroups: net.bugs
Subject: Re: Bug in 5.3 Rogue ...
Message-ID: <2088@hplabs.UUCP>
Date: Mon, 19-Dec-83 14:08:46 EST
Article-I.D.: hplabs.2088
Posted: Mon Dec 19 14:08:46 1983
Date-Received: Thu, 22-Dec-83 00:22:48 EST
References: <83@sdcsvax.UUCP>, <435@eosp1.UUCP>
Organization: Hewlett Packard Labs, Palo Alto CA
Lines: 28