From 5fbe06613a8a9e5d8731a832ddff0e9bdce112bb Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sun, 20 Feb 2011 19:54:40 +0100 Subject: Remove redefinition of "bool" for C++ friendliness. --- src/q_nirna.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/q_nirna.c') diff --git a/src/q_nirna.c b/src/q_nirna.c index ab0d29ce..1fbd05db 100644 --- a/src/q_nirna.c +++ b/src/q_nirna.c @@ -1,7 +1,7 @@ #undef cquest #define cquest (quest[QUEST_NIRNAETH]) -bool quest_nirnaeth_gen_hook(char *fmt) +bool_ quest_nirnaeth_gen_hook(char *fmt) { int x, y; int xstart = 2; @@ -41,7 +41,7 @@ bool quest_nirnaeth_gen_hook(char *fmt) return TRUE; } -bool quest_nirnaeth_finish_hook(char *fmt) +bool_ quest_nirnaeth_finish_hook(char *fmt) { s32b q_idx; @@ -78,7 +78,7 @@ bool quest_nirnaeth_finish_hook(char *fmt) return TRUE; } -bool quest_nirnaeth_death_hook(char *fmt) +bool_ quest_nirnaeth_death_hook(char *fmt) { if (p_ptr->inside_quest != QUEST_NIRNAETH) return FALSE; @@ -86,7 +86,7 @@ bool quest_nirnaeth_death_hook(char *fmt) return FALSE; } -bool quest_nirnaeth_stair_hook(char *fmt) +bool_ quest_nirnaeth_stair_hook(char *fmt) { if (p_ptr->inside_quest != QUEST_NIRNAETH) return FALSE; @@ -98,7 +98,7 @@ bool quest_nirnaeth_stair_hook(char *fmt) process_hooks_restart = TRUE; return (FALSE); } -bool quest_nirnaeth_init_hook(int q_idx) +bool_ quest_nirnaeth_init_hook(int q_idx) { if ((cquest.status >= QUEST_STATUS_TAKEN) && (cquest.status < QUEST_STATUS_FINISHED)) { -- cgit v1.2.3