summaryrefslogtreecommitdiff
path: root/src/q_nazgul.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-20 19:54:40 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-20 20:56:41 +0100
commit5fbe06613a8a9e5d8731a832ddff0e9bdce112bb (patch)
tree4ab5267304509feed1bbcf4ad265cd8597c64fce /src/q_nazgul.c
parent420428c53fe83064331ac2e06297c8a93abc93cf (diff)
Remove redefinition of "bool" for C++ friendliness.
Diffstat (limited to 'src/q_nazgul.c')
-rw-r--r--src/q_nazgul.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/q_nazgul.c b/src/q_nazgul.c
index 2f9b4bf8..66d3dc98 100644
--- a/src/q_nazgul.c
+++ b/src/q_nazgul.c
@@ -1,7 +1,7 @@
#undef cquest
#define cquest (quest[QUEST_NAZGUL])
-bool quest_nazgul_gen_hook(char *fmt)
+bool_ quest_nazgul_gen_hook(char *fmt)
{
int m_idx, x = 1, y = 1, tries = 10000;
s32b small;
@@ -33,7 +33,7 @@ bool quest_nazgul_gen_hook(char *fmt)
return FALSE;
}
-bool quest_nazgul_finish_hook(char *fmt)
+bool_ quest_nazgul_finish_hook(char *fmt)
{
object_type forge, *q_ptr;
s32b q_idx;
@@ -63,7 +63,7 @@ bool quest_nazgul_finish_hook(char *fmt)
return TRUE;
}
-bool quest_nazgul_dump_hook(char *fmt)
+bool_ quest_nazgul_dump_hook(char *fmt)
{
if (cquest.status >= QUEST_STATUS_COMPLETED)
{
@@ -71,7 +71,7 @@ bool quest_nazgul_dump_hook(char *fmt)
}
return (FALSE);
}
-bool quest_nazgul_forbid_hook(char *fmt)
+bool_ quest_nazgul_forbid_hook(char *fmt)
{
s32b q_idx;
q_idx = get_next_arg(fmt);
@@ -85,7 +85,7 @@ bool quest_nazgul_forbid_hook(char *fmt)
}
return (FALSE);
}
-bool quest_nazgul_death_hook(char *fmt)
+bool_ quest_nazgul_death_hook(char *fmt)
{
s32b r_idx, m_idx;
@@ -102,7 +102,7 @@ bool quest_nazgul_death_hook(char *fmt)
return (FALSE);
}
-bool quest_nazgul_init_hook(int q_idx)
+bool_ quest_nazgul_init_hook(int q_idx)
{
if ((cquest.status >= QUEST_STATUS_TAKEN) && (cquest.status < QUEST_STATUS_FINISHED))
{