summaryrefslogtreecommitdiff
path: root/src/q_fireprof.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_fireprof.c')
-rw-r--r--src/q_fireprof.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/q_fireprof.c b/src/q_fireprof.c
index e252af4f..a515335f 100644
--- a/src/q_fireprof.c
+++ b/src/q_fireprof.c
@@ -1,5 +1,6 @@
#include "q_fireprof.h"
#include "quark.h"
+#include "hooks.h"
#define cquest (quest[QUEST_FIREPROOF])
@@ -379,7 +380,7 @@ void quest_fireproof_building(bool_ *paid, bool_ *recreate)
}
}
-static bool_ fireproof_get_hook(char *fmt)
+static bool_ fireproof_get_hook(const char *fmt)
{
object_type *o_ptr = get_next_arg_obj();
@@ -398,7 +399,7 @@ static bool_ fireproof_get_hook(char *fmt)
return FALSE;
}
-static bool_ fireproof_stair_hook(char *fmt)
+static bool_ fireproof_stair_hook(const char *fmt)
{
/* only ask this if player about to go up stairs of quest and
* hasn't retrieved item */
@@ -480,7 +481,7 @@ bool_ quest_fireproof_describe(FILE *hook_file)
return TRUE;
}
-static bool_ fireproof_gen_hook(char *fmt)
+static bool_ fireproof_gen_hook(const char *fmt)
{
fireproof_settings const *settings = fireproof_get_settings();