<Someone> wrote:
>> 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.
>>
> I've just noticed that the fix for this only works for 'grey
> spellbook', not 'grey spell book'; 'spell book' works for wishing
> in other contexts, so it probably ought to here :-)
This commit is contained in:
nethack.allison
2003-09-15 10:47:30 +00:00
parent b4b37dde28
commit e62bd5eb14
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ open_levelfile_exclusively() was showing the return value -1 in a panic message,
even though that was the only possible value; show errno instead
it was inappropriate to have a ghost "appear" in desecrated temple when
you were blind and without telepathy
accept wish for "grey spell book" not just "grey spellbook"
Platform- and/or Interface-Specific Fixes

View File

@@ -2019,7 +2019,7 @@ boolean from_user;
as++;
}
/* can't use spellings list for this one due to shuffling */
if (!strcmpi(bp, "grey spellbook"))
if (!strncmpi(bp, "grey spell", 10))
*(bp + 2) = 'a';
}