fix some recent lint
This commit is contained in:
+2
-2
@@ -1356,8 +1356,8 @@ E void FDECL(mnexto, (struct monst *));
|
|||||||
E void FDECL(maybe_mnexto, (struct monst *));
|
E void FDECL(maybe_mnexto, (struct monst *));
|
||||||
E boolean FDECL(mnearto, (struct monst *, XCHAR_P, XCHAR_P, BOOLEAN_P));
|
E boolean FDECL(mnearto, (struct monst *, XCHAR_P, XCHAR_P, BOOLEAN_P));
|
||||||
E void FDECL(m_respond, (struct monst *));
|
E void FDECL(m_respond, (struct monst *));
|
||||||
E void FDECL(setmangry, (struct monst *, boolean));
|
E void FDECL(setmangry, (struct monst *, BOOLEAN_P));
|
||||||
E void FDECL(wakeup, (struct monst *, boolean));
|
E void FDECL(wakeup, (struct monst *, BOOLEAN_P));
|
||||||
E void NDECL(wake_nearby);
|
E void NDECL(wake_nearby);
|
||||||
E void FDECL(wake_nearto, (int, int, int));
|
E void FDECL(wake_nearto, (int, int, int));
|
||||||
E void FDECL(seemimic, (struct monst *));
|
E void FDECL(seemimic, (struct monst *));
|
||||||
|
|||||||
+3
-2
@@ -96,8 +96,9 @@ register struct obj *obj;
|
|||||||
if (!Blind)
|
if (!Blind)
|
||||||
pline("%s shining.", Tobjnam(olduwep, "stop"));
|
pline("%s shining.", Tobjnam(olduwep, "stop"));
|
||||||
}
|
}
|
||||||
if (uwep == obj && ((uwep && uwep->oartifact == ART_OGRESMASHER)
|
if (uwep == obj
|
||||||
|| olduwep && olduwep->oartifact == ART_OGRESMASHER))
|
&& ((uwep && uwep->oartifact == ART_OGRESMASHER)
|
||||||
|
|| (olduwep && olduwep->oartifact == ART_OGRESMASHER)))
|
||||||
context.botl = 1;
|
context.botl = 1;
|
||||||
/* Note: Explicitly wielding a pick-axe will not give a "bashing"
|
/* Note: Explicitly wielding a pick-axe will not give a "bashing"
|
||||||
* message. Wielding one via 'a'pplying it will.
|
* message. Wielding one via 'a'pplying it will.
|
||||||
|
|||||||
Reference in New Issue
Block a user