stoning message

From a bug report, 2012:
> This one's easy: the "Your limbs {are stiffening|have turned to stone}" still
> appears as such even when you're polymorphed into a form that has no limbs
> (worms, etc.).
>
> Perhaps it should be "Your extremities[...]" or similar?
This commit is contained in:
nethack.allison
2012-04-16 00:37:49 +00:00
parent 5fda793c67
commit 7d44b04e8c

View File

@@ -26,10 +26,14 @@ static NEARDATA const char * const stoned_texts[] = {
STATIC_OVL void
stoned_dialogue()
{
char buf[BUFSZ];
register long i = (Stoned & TIMEOUT);
if (i > 0L && i <= SIZE(stoned_texts))
pline1(stoned_texts[SIZE(stoned_texts) - i]);
if (i > 0L && i <= SIZE(stoned_texts)) {
Strcpy(buf,stoned_texts[SIZE(stoned_texts) - i]);
pline1(nolimbs(youmonst.data) ?
strsubst(buf, "limbs", "extremities") : buf);
}
switch ((int) i) {
case 5: /* slowing down */
HFast = 0L;