From 6e0d55dfbc51dc667fc9686b937a7ee7b61a0826 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 30 Jan 2019 11:08:11 -0500 Subject: [PATCH] rng bit --- src/do_name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/do_name.c b/src/do_name.c index 753c509f1..2cfd935a4 100644 --- a/src/do_name.c +++ b/src/do_name.c @@ -1250,7 +1250,7 @@ register struct obj *obj; /* for "the Foo of Bar", only scuff "Foo of Bar" part */ bufp = !strncmpi(bufcpy, "the ", 4) ? (buf + 4) : buf; do { - wipeout_text(bufp, rnd(2), (unsigned) 0); + wipeout_text(bufp, rn2_on_display_rng(2), (unsigned) 0); } while (!strcmp(buf, bufcpy)); pline("While engraving, your %s slips.", body_part(HAND)); display_nhwindow(WIN_MESSAGE, FALSE); -- 2.40.0