From 59fd05dd5eb35b3243c6bb61f100efbb7812731d Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 19 Mar 2023 19:36:52 +0200 Subject: [PATCH] Fix the prot from shape changers test --- src/wizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wizard.c b/src/wizard.c index 3aebece2c..fd6db31bb 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -496,7 +496,7 @@ clonewiz(void) (void) add_to_minv(mtmp2, mksobj(FAKE_AMULET_OF_YENDOR, TRUE, FALSE)); } - if (Protection_from_shape_changers) { + if (!Protection_from_shape_changers) { mtmp2->m_ap_type = M_AP_MONSTER; mtmp2->mappearance = wizapp[rn2(SIZE(wizapp))]; }