When god appears, change 'will you accept' to 'will you accept %s' offer?'

This commit is contained in:
Rob Pearce 2016-06-18 17:52:46 +10:00
parent d22d881df1
commit f786d9de72
1 changed files with 3 additions and 1 deletions

4
god.c
View File

@ -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') {