fix some recent lint

This commit is contained in:
PatR
2016-12-08 16:01:09 -08:00
parent 97ffc0f53d
commit 66a0c98954
2 changed files with 5 additions and 4 deletions

View File

@@ -96,8 +96,9 @@ register struct obj *obj;
if (!Blind)
pline("%s shining.", Tobjnam(olduwep, "stop"));
}
if (uwep == obj && ((uwep && uwep->oartifact == ART_OGRESMASHER)
|| olduwep && olduwep->oartifact == ART_OGRESMASHER))
if (uwep == obj
&& ((uwep && uwep->oartifact == ART_OGRESMASHER)
|| (olduwep && olduwep->oartifact == ART_OGRESMASHER)))
context.botl = 1;
/* Note: Explicitly wielding a pick-axe will not give a "bashing"
* message. Wielding one via 'a'pplying it will.