fix #K3520 - typo in dry_a_towel()
Message shown when hero sees a monster's wet towel become less wet:
"<Mon>'s {moist|wet} towel drie[ out]." Corresponding message for
hero's towel spelled "dries" correctly.
Reported for to-be-3.7 but present since 3.6.0.
This commit is contained in:
@@ -750,6 +750,7 @@ flyers shouldn't fall on arrival when going down holes or trap doors
|
||||
change movement keys and some special keys into extended commands
|
||||
"WHAMMM!!!" feedback when kicking a door suggests noise so if hero is deaf an
|
||||
alternate message should be given
|
||||
fix typo in message shown when hero sees a monster's wet towel become drier
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
10
src/weapon.c
10
src/weapon.c
@@ -990,10 +990,10 @@ wet_a_towel(struct obj *obj,
|
||||
|
||||
/* decrease a towel's wetness; unlike when wetting, 0 is not a no-op */
|
||||
void
|
||||
dry_a_towel(struct obj *obj,
|
||||
int amt, /* positive or zero: new value;
|
||||
negative: decrement by abs(amt) */
|
||||
boolean verbose)
|
||||
dry_a_towel(
|
||||
struct obj *obj,
|
||||
int amt, /* positive or zero: new value; negative: decrement by abs(amt) */
|
||||
boolean verbose)
|
||||
{
|
||||
int newspe = (amt < 0) ? obj->spe + amt : amt;
|
||||
|
||||
@@ -1004,7 +1004,7 @@ dry_a_towel(struct obj *obj,
|
||||
pline("%s dries%s.", Yobjnam2(obj, (const char *) 0),
|
||||
!newspe ? " out" : "");
|
||||
else if (mcarried(obj) && canseemon(obj->ocarry))
|
||||
pline("%s %s drie%s.", s_suffix(Monnam(obj->ocarry)),
|
||||
pline("%s %s dries%s.", s_suffix(Monnam(obj->ocarry)),
|
||||
xname(obj), !newspe ? " out" : "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user