obj->tknown comments
This commit is contained in:
@@ -1338,7 +1338,11 @@ doname_base(
|
||||
Strcat(prefix, "uncursed ");
|
||||
}
|
||||
|
||||
/* "a large trapped box" would perhaps be more correct */
|
||||
/* "a large trapped box" would perhaps be more correct; [no!]
|
||||
what about ``(obj->tknown && !obj->otrapped)''? shouldn't that
|
||||
yield "a non-trapped large box"? (not "an untrapped large box");
|
||||
TODO: this should be ``(Is_box(obj) || obj->otyp == TIN) && ...''
|
||||
but at present there's no way to set obj->tknown for tins */
|
||||
if (Is_box(obj) && obj->otrapped && obj->tknown && obj->dknown)
|
||||
Strcat(prefix,"trapped ");
|
||||
if (lknown && Is_box(obj)) {
|
||||
|
||||
Reference in New Issue
Block a user