summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-12 08:44:28 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-12 08:46:02 +0100
commitbe3a6e4cab9e0458ac2bb16c9521269a14fa7e3f (patch)
tree005ddc41aaf26ef9ef4559f39dec1074686c0c2a /src
parente809d2fe548a0dad3c005fd3c7805446cefd138d (diff)
Import Killerbunnies patch: Add a "you do not you all your fate" text to Fates menu if there are fates you haven't discovered yet.
Diffstat (limited to 'src')
-rw-r--r--src/xtra1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xtra1.c b/src/xtra1.c
index 37fa8cfe..d1996b18 100644
--- a/src/xtra1.c
+++ b/src/xtra1.c
@@ -4829,6 +4829,7 @@ void dump_fates(FILE *outfile)
{
int i;
char buf[120];
+ bool pending = FALSE;
if (!outfile) return;
@@ -4839,6 +4840,11 @@ void dump_fates(FILE *outfile)
fate_desc(buf, i);
fprintf(outfile, "%s\n", buf);
}
+ if ((fates[i].fate) && !(fates[i].know)) pending = TRUE;
+ }
+ if (pending)
+ {
+ fprintf(outfile, "You do not know all of your fate.\n");
}
}