/* for "the Foo of Bar", only scuff "Foo of Bar" part */
bufp = !strncmpi(buf, "the ", 4) ? (buf + 4) : buf;
do {
- wipeout_text(bufp, rn2_on_display_rng(2), (unsigned) 0);
+ wipeout_text(bufp, rnd_on_display_rng(2), (unsigned) 0);
} while (!strcmp(buf, bufcpy));
pline("While engraving, your %s slips.", body_part(HAND));
display_nhwindow(WIN_MESSAGE, FALSE);
return x;
}
+int
+rnd_on_display_rng(register int x)
+{
+ return rn2_on_display_rng(x) + 1;
+}
+
/* d(N,X) == NdX == dX+dX+...+dX N times; n <= d(n,x) <= (n*x) */
int
d(register int n, register int x)