Lenses don't help when you're blind.

This is a tweak to <Someone>'s lens patch.
This commit is contained in:
warwick
2002-01-18 01:38:35 +00:00
parent 28975c6682
commit 53117c71cb

View File

@@ -1116,7 +1116,7 @@ register int aflag;
int fund = (uwep && uwep->oartifact &&
spec_ability(uwep, SPFX_SEARCH)) ?
uwep->spe : 0;
if (ublindf && ublindf->otyp == LENSES)
if (ublindf && ublindf->otyp == LENSES && !Blind)
fund += 2; /* JDS: lenses help searching */
if (fund > 5) fund = 5;
for(x = u.ux-1; x < u.ux+2; x++)