summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-15 19:58:38 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:21:28 +0100
commitc3aeb496b7016ce85f55da938d1939fa330d1c60 (patch)
treecf8adf4b480b32d60257c59f4b4ca053385e95f5 /src/map/npc.h
parent0c4b3b1c57a8e75f1b13456fb60de3a69e680f45 (diff)
downloadhercules-c3aeb496b7016ce85f55da938d1939fa330d1c60.tar.gz
hercules-c3aeb496b7016ce85f55da938d1939fa330d1c60.tar.bz2
hercules-c3aeb496b7016ce85f55da938d1939fa330d1c60.tar.xz
hercules-c3aeb496b7016ce85f55da938d1939fa330d1c60.zip
Added const qualifier to the w1~w4 arguments of npc_parse_script
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 9f8767877..cdf33962b 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -239,7 +239,7 @@ struct npc_interface {
const char* (*parse_unknown_object) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
void (*convertlabel_db) (struct npc_label_list *label_list, const char *filepath);
const char* (*skip_script) (const char *start, const char *buffer, const char *filepath, int *retval);
- const char* (*parse_script) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval);
+ const char *(*parse_script) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int options, int *retval);
void (*add_to_location) (struct npc_data *nd);
bool (*duplicate_script_sub) (struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
bool (*duplicate_shop_sub) (struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);