From 4621efb4a50bdcc3836c5ee86e5226b44994e8c6 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 28 Jun 2005 22:00:58 +0000 Subject: [PATCH] clarification --- src/common/gamecode/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));