diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 68b230f17..cf3e2dd6c 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -316,7 +316,7 @@ age_unit(region * r, unit * u) item ** itemp = &u->items; while (*itemp) { item * itm = *itemp; - if (itm->type->flags & ITF_NOTLOST == 0) { + if ((itm->type->flags & ITF_NOTLOST) == 0) { if (itm->type->flags & (ITF_BIG|ITF_ANIMAL|ITF_CURSED)) { ADDMSG(&u->faction->msgs, msg_message("itemcrumble", "unit region item amount", u, u->region, itm->type->rtype, itm->number));