redundant petrification message
[I've lost the #Rxxx number for this bug report....]
When attacking a non-stone golem with a cockatrice corpse,
suppress the redundant "<monster> turns to stone" message which
preceeded the "<monster> solidifies. It's now a stone golem."
messages.
This commit is contained in:
@@ -100,6 +100,7 @@ fix goodpos() so worm segments don't get placed on top of each other (causing
|
|||||||
fix fountain noises on some special levels (castle, valk home, various mines)
|
fix fountain noises on some special levels (castle, valk home, various mines)
|
||||||
disallow mounting a trapped steed to avoid inappropriate trap effects
|
disallow mounting a trapped steed to avoid inappropriate trap effects
|
||||||
#chat with meditating monster will rouse it
|
#chat with meditating monster will rouse it
|
||||||
|
suppress redundant message when stoning effect transforms a golem
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)trap.c 3.4 2002/04/06 */
|
/* SCCS Id: @(#)trap.c 3.4 2002/05/08 */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -1950,12 +1950,12 @@ struct monst *mon;
|
|||||||
boolean byplayer;
|
boolean byplayer;
|
||||||
{
|
{
|
||||||
if (resists_ston(mon)) return;
|
if (resists_ston(mon)) return;
|
||||||
if (cansee(mon->mx, mon->my))
|
|
||||||
pline("%s turns to stone.", Monnam(mon));
|
|
||||||
if (poly_when_stoned(mon->data)) {
|
if (poly_when_stoned(mon->data)) {
|
||||||
mon_to_stone(mon);
|
mon_to_stone(mon);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (cansee(mon->mx, mon->my))
|
||||||
|
pline("%s turns to stone.", Monnam(mon));
|
||||||
if (byplayer) {
|
if (byplayer) {
|
||||||
stoned = TRUE;
|
stoned = TRUE;
|
||||||
xkilled(mon,0);
|
xkilled(mon,0);
|
||||||
|
|||||||
Reference in New Issue
Block a user