summaryrefslogtreecommitdiff
path: root/src/q_troll.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_troll.c
parent420428c53fe83064331ac2e06297c8a93abc93cf (diff)
Remove redefinition of "bool" for C++ friendliness.
Diffstat (limited to 'src/q_troll.c')
-rw-r--r--src/q_troll.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/q_troll.c b/src/q_troll.c
index d1347ed6..4a193079 100644
--- a/src/q_troll.c
+++ b/src/q_troll.c
@@ -1,7 +1,7 @@
#undef cquest
#define cquest (quest[QUEST_TROLL])
-bool quest_troll_gen_hook(char *fmt)
+bool_ quest_troll_gen_hook(char *fmt)
{
int x, y;
int xstart = 2;
@@ -95,7 +95,7 @@ bool quest_troll_gen_hook(char *fmt)
cquest.data[0] = FALSE;
return TRUE;
}
-bool quest_troll_finish_hook(char *fmt)
+bool_ quest_troll_finish_hook(char *fmt)
{
s32b q_idx;
@@ -115,7 +115,7 @@ bool quest_troll_finish_hook(char *fmt)
return TRUE;
}
-bool quest_troll_death_hook(char *fmt)
+bool_ quest_troll_death_hook(char *fmt)
{
int x, y, xstart = 2, ystart = 2;
s32b r_idx, m_idx;
@@ -170,7 +170,7 @@ bool quest_troll_death_hook(char *fmt)
return FALSE;
}
-bool quest_troll_init_hook(int q_idx)
+bool_ quest_troll_init_hook(int q_idx)
{
if ((cquest.status >= QUEST_STATUS_TAKEN) && (cquest.status < QUEST_STATUS_FINISHED))
{