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.
This commit is contained in:
PatR
2022-10-23 00:30:23 -07:00
parent 9a21d7d7b0
commit 11aaa70209

View File

@@ -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!");