Deadly afflictions and resistances for safe_wait

Amend the safe_wait so it still waits if you have a deadly property,
even if you have a resistance to it.

External resistances do not protect against already existing
deadly properties, for example becoming deadly ill is not cured
even if you wear a green dragon scale mail.
This commit is contained in:
Pasi Kallinen
2023-01-12 23:15:51 +02:00
parent ba5356603a
commit eacb68666e

View File

@@ -2137,10 +2137,7 @@ zombify_mon(anything *arg, long timeout)
static boolean
danger_uprops(void)
{
return ((Stoned && !Stone_resistance)
|| Slimed
|| Strangled
|| (Sick && !Sick_resistance));
return (Stoned || Slimed || Strangled || Sick);
}
boolean