From 11aaa7020982fe635dc9f9a8371bc8abe3b0a0aa Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 23 Oct 2022 00:30:23 -0700 Subject: [PATCH] build fix for mummy wrapping changes Not sure how I overlooked this earlier, but the warning about wrong pointer type is showing up plainly now. Fix that. --- src/polyself.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polyself.c b/src/polyself.c index d1f302ebe..196ce7e07 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -1076,7 +1076,7 @@ break_armor(void) useup(uarmu); } } else if (sliparm(uptr)) { - if ((otmp = uarm) != 0 && racial_exception(uptr, otmp) < 1) { + if ((otmp = uarm) != 0 && racial_exception(&g.youmonst, otmp) < 1) { if (donning(otmp)) cancel_don(); Your("armor falls around you!");