hack bug report
Mike Newton
newton at cit-vax
Fri Jan 11 13:39:47 AEST 1985
The recent distribution to hack had an error in it that caused a Rust monster
that hit you when you were not wearing a helmet to crash. The correct code
is copied below. The file is hack.mhitu.c.
enjoy,
--mike
case 'R':
if(tmp && uarmh && !uarmh->rustfree &&
(int) uarmh->spe >= -1) {
pline("Your helmet rusts!");
uarmh->spe--;
} else
if(ctmp && uarm && !uarm->rustfree && /* -- MON */
uarm->otyp < STUDDED_LEATHER_ARMOR &&
(int)uarm->spe >= -1) {
pline("Your armor rusts!");
uarm->spe--;
}
break;
More information about the Comp.unix.wizards
mailing list