summaryrefslogtreecommitdiff
path: root/src/q_rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_rand.c')
-rw-r--r--src/q_rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/q_rand.c b/src/q_rand.c
index 73e5a5f3..c952b861 100644
--- a/src/q_rand.c
+++ b/src/q_rand.c
@@ -418,9 +418,9 @@ bool quest_random_dump_hook(char *fmt)
fprintf(hook_file, "\n You haven't completed a single princess quest.");
if (lscnt > 10)
- fprintf(hook_file, "\n You have completed %d lost sword quests.", pcnt);
+ fprintf(hook_file, "\n You have completed %d lost sword quests.", lscnt);
else if (lscnt > 1)
- fprintf(hook_file, "\n You have completed %s lost sword quests.", number[pcnt-2]);
+ fprintf(hook_file, "\n You have completed %s lost sword quests.", number[lscnt-2]);
else if (lscnt == 1)
fprintf(hook_file, "\n You have completed one lost sword quest.");
else