don't negate new moon with a lizard corpse
The only effect of a new moon was to make hearing a cockatrice's hissing (whichs happens with 1 in 3 chance) always start the turn to stone sequence instead just having a 1 in 10 chance to do so, but that was negated by carrying a lizard corpse. Keep the hiss-always-starts-petficiation part and remove the carrying-a-lizard-corpse-negates-that part. So the effect of a new moon no longer gets controlled by the contents of hero's inventory.
This commit is contained in:
11
src/invent.c
11
src/invent.c
@@ -1334,17 +1334,6 @@ currency(long amount)
|
||||
return res;
|
||||
}
|
||||
|
||||
boolean
|
||||
have_lizard(void)
|
||||
{
|
||||
register struct obj *otmp;
|
||||
|
||||
for (otmp = g.invent; otmp; otmp = otmp->nobj)
|
||||
if (otmp->otyp == CORPSE && otmp->corpsenm == PM_LIZARD)
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
struct obj *
|
||||
u_carried_gloves(void) {
|
||||
struct obj *otmp, *gloves = (struct obj *) 0;
|
||||
|
||||
Reference in New Issue
Block a user