REsourcen früher sehen können.

This commit is contained in:
Enno Rehling 2002-11-17 10:51:39 +00:00
parent 97db885e7d
commit 4d23d26aa0
1 changed files with 4 additions and 1 deletions

View File

@ -105,7 +105,10 @@ visible_default(const rawmaterial *res, int skilllevel)
* plus current level of difficulty */
{
const struct item_type * itype = olditemtype[res->type->_itype];
if (res->level + itype->construction->minskill <= skilllevel+1) {
if (res->level<=1 && res->level + itype->construction->minskill <= skilllevel+1) {
assert (res->amount>0);
return res->amount;
} else if (res->level + itype->construction->minskill <= skilllevel+2) {
assert (res->amount>0);
return res->amount;
}