mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-17 13:05:06 +01:00
Message bugfix: Don't yammer about spell knowledge already being keen when reading an archive
This commit is contained in:
parent
99964d5f88
commit
da4b7bb598
1 changed files with 3 additions and 3 deletions
|
@ -4007,12 +4007,12 @@ int spellnum;
|
|||
Sprintf(splname, objects[spellnum].oc_name_known ? "\"%s\"" : "the \"%s\" spell", OBJ_NAME(objects[spellnum]));
|
||||
for (i = 0; i < MAXSPELL; i++) {
|
||||
if (spellid(i) == spellnum) {
|
||||
if (spellknow(i) <= KEEN) {
|
||||
if (spellknow(i) < KEEN) {
|
||||
Your("knowledge of %s is keener.", splname);
|
||||
incrnknow(i);
|
||||
exercise(A_WIS,TRUE); /* extra study */
|
||||
} else { /* 1000 < spellknow(i) <= KEEN */
|
||||
You("know %s quite well already.", splname);
|
||||
// } else { /* 1000 < spellknow(i) <= KEEN */
|
||||
// You("know %s quite well already.", splname);
|
||||
}
|
||||
break;
|
||||
} else if (spellid(i) == NO_SPELL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue