#U770 part II - lack of "miss" message when throwing gold at monster
There was no feedback when gold was thrown or kicked at monsters who weren't interested in catching it. Now it'll give the same "<obj> misses <monster>" message as other thrown or kicked items objects which don't hit.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)dothrow.c 3.4 2003/10/21 */
|
||||
/* SCCS Id: @(#)dothrow.c 3.4 2003/12/04 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1168,7 +1168,7 @@ struct monst *mon;
|
||||
an arrow just landing short of any target (no message in that case),
|
||||
so will realize that there is a valid target here anyway. */
|
||||
if (!canseemon(mon) || (mon->m_ap_type && mon->m_ap_type != M_AP_MONSTER))
|
||||
pline("%s misses.", The(missile));
|
||||
pline("%s %s.", The(missile), otense(obj, "miss"));
|
||||
else
|
||||
miss(missile, mon);
|
||||
if (!rn2(3)) wakeup(mon);
|
||||
@@ -1697,9 +1697,6 @@ boolean in_view;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Note that the gold object is *not* attached to the fobj chain.
|
||||
*/
|
||||
STATIC_OVL int
|
||||
throw_gold(obj)
|
||||
struct obj *obj;
|
||||
|
||||
Reference in New Issue
Block a user