]> granicus.if.org Git - nethack/commitdiff
prevent "Your corpse passes harmlessly through the shade."
authornethack.allison <nethack.allison>
Tue, 21 Jan 2003 12:38:25 +0000 (12:38 +0000)
committernethack.allison <nethack.allison>
Tue, 21 Jan 2003 12:38:25 +0000 (12:38 +0000)
src/uhitm.c

index 6f43a0504598ec400c91313458ee8f067a023180..442233c8b2e02e62403bcc234c1070a042a8c834 100644 (file)
@@ -680,7 +680,7 @@ int thrown;
            } else {
                if (!shade_aware(obj)) {
                    tmp = 0;
-                   Strcpy(unconventional, xname(obj));
+                   Strcpy(unconventional, cxname(obj));
                } else {
                    switch(obj->otyp) {
                    case BOULDER:               /* 1d20 */