From: PatR Date: Sun, 23 Oct 2022 07:30:23 +0000 (-0700) Subject: build fix for mummy wrapping changes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11aaa7020982fe635dc9f9a8371bc8abe3b0a0aa;p=nethack 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. --- 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!");