choking on gold

From a bug report:  "choked on an a very rich meal".
This commit is contained in:
nethack.rankin
2005-09-10 02:40:51 +00:00
parent 6e987c27af
commit 1c290666a6
2 changed files with 3 additions and 2 deletions

View File

@@ -146,6 +146,7 @@ describe locomotion method accurately when flyers traverse ladders or holes
when there were multiple boulders at a location, moving one of them sometimes
resulted in line-of-sight anomalies
unicorn can't catch gems if it is asleep or paralyzed
fix grammar when choking on gold
Platform- and/or Interface-Specific Fixes

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)eat.c 3.5 2005/06/21 */
/* SCCS Id: @(#)eat.c 3.5 2005/09/09 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -224,7 +224,7 @@ choke(food) /* To a full belly all food is bad. (It.) */
if(food) {
You("choke over your %s.", foodword(food));
if (food->oclass == COIN_CLASS) {
Strcpy(killer.name, "a very rich meal");
Strcpy(killer.name, "very rich meal");
} else {
Strcpy(killer.name, food_xname(food, FALSE));
if (food->otyp == CORPSE &&