scroll of identify fix (trunk only)
My recent patch included a typo in a pline() call which broke compile, and much worse, was accessing scroll of identify after using it up. Cache scroll->otyp, scroll->blessed, and scroll->cursed instead of re-re-ordering the identify scroll/spell code.
This commit is contained in:
@@ -1535,7 +1535,7 @@ boolean learning_id; /* true if we just read unknown identify scroll */
|
||||
if (not_fully_identified(obj)) ++unid_cnt, the_obj = obj;
|
||||
|
||||
if (!unid_cnt) {
|
||||
You("have already identified all %sof your possessions."
|
||||
You("have already identified all %sof your possessions.",
|
||||
learning_id ? "the rest " : "");
|
||||
} else if (!id_limit) {
|
||||
/* identify everything */
|
||||
|
||||
Reference in New Issue
Block a user