fix B14022

> You're equally unlikely to be wishing for spellbooks by colour,
> but I note that 'grey' for 'gray' only works for dragonscale and
> stones, not the spellbook description.
This commit is contained in:
nethack.allison
2003-01-03 04:40:27 +00:00
parent 70ae2d2162
commit 38c3e5a9f9
2 changed files with 4 additions and 0 deletions

View File

@@ -344,6 +344,7 @@ avoid discrepancies in size and associated armor-wearing ability between
wizard gnome player and same player polymorphed into gnomish wizard
by forcing newman() if poly-target matches your_race()
add missing data.base entries for caveman, healer, monk, priest, and samurai
allow "grey spellbook" as alternative spelling of "gray spellbook"
Platform- and/or Interface-Specific Fixes

View File

@@ -1949,6 +1949,9 @@ boolean from_user;
}
as++;
}
/* can't use spellings list for this one due to shuffling */
if (!strcmpi(bp, "grey spellbook"))
*(bp + 2) = 'a';
}
/* dragon scales - assumes order of dragons */