From f786d9de7244c956833d561075dfe17947b57da7 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Sat, 18 Jun 2016 17:52:46 +1000 Subject: [PATCH] When god appears, change 'will you accept' to 'will you accept %s' offer?' --- god.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/god.c b/god.c index fbbf15b..b51c0de 100644 --- a/god.c +++ b/god.c @@ -538,7 +538,9 @@ void askforworship(enum RACE rid) { yn = '?'; while (yn == '?') { - yn = askchar("Will you accept", "yn?", "n", B_TRUE, B_FALSE); + char buf[BUFLEN]; + snprintf(buf, BUFLEN, "Will you accept %s%s offer?", god->race->name, isplural(god->race->name) ? "'" : "'s"); + yn = askchar(buf, "yn?", "n", B_TRUE, B_FALSE); if (yn == '?') { describegod(god); } else if (yn == 'y') {