Fixing a buglist bug. Also changing an unrelated buglist item a bit (it was
mine to begin with, I thought I had a way to fix it but it turns out I didn't, so I was researching it again). Checked into CVS.
This commit is contained in:
@@ -1332,6 +1332,15 @@ void arti_speak(obj)
|
||||
return;
|
||||
}
|
||||
|
||||
boolean
|
||||
artifact_has_invprop(otmp, inv_prop)
|
||||
struct obj *otmp;
|
||||
uchar inv_prop;
|
||||
{
|
||||
const struct artifact *arti = get_artifact(otmp);
|
||||
|
||||
return((boolean)(arti && (arti->inv_prop == inv_prop)));
|
||||
}
|
||||
|
||||
#endif /* OVLB */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user