From 6596718acd47f4c99d22c9165660704d06a71800 Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Fri, 20 Aug 2021 19:20:00 -0400 Subject: [PATCH] Count all poly'ing tins as potential sliming cures Popeye, used to check whether eating a particular tin is a potential lifesaving action, considered tins of chameleon meat a cure for sliming (since you can polymorph into a fiery monster), but didn't credit the same possible curative power to other tins which can polymorph the hero. Use the polyfodder macro (used elsewhere to check whether eating something will polymorph a monster/pet) to determine whether a tin will polymorph the hero. --- src/eat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eat.c b/src/eat.c index 2bb8be744..6ec3014b0 100644 --- a/src/eat.c +++ b/src/eat.c @@ -3546,7 +3546,7 @@ Popeye(int threat) && (mndx == PM_LIZARD || acidic(&mons[mndx]))); /* polymorph into a fiery monster */ case SLIMED: - return (boolean) (mndx == PM_CHAMELEON); + return (boolean) polyfodder(otin); /* no tins can cure these (yet?) */ case SICK: case VOMITING: