summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-15 20:05:57 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:21:28 +0100
commit09f08f55feee1c4368348693cf812a73d56e8fc9 (patch)
tree5c7a50e358cbe891dbbef40f435867941190bd0e /src/map/npc.h
parentc3aeb496b7016ce85f55da938d1939fa330d1c60 (diff)
downloadhercules-09f08f55feee1c4368348693cf812a73d56e8fc9.tar.gz
hercules-09f08f55feee1c4368348693cf812a73d56e8fc9.tar.bz2
hercules-09f08f55feee1c4368348693cf812a73d56e8fc9.tar.xz
hercules-09f08f55feee1c4368348693cf812a73d56e8fc9.zip
Added const qualifier to the w1~w4 arguments of npc_parse_duplicate
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 cdf33962b..00b9c4d3c 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -245,7 +245,7 @@ struct npc_interface {
bool (*duplicate_shop_sub) (struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
bool (*duplicate_warp_sub) (struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
bool (*duplicate_sub) (struct npc_data *nd, const struct npc_data *snd, int xs, int ys, int options);
- const char* (*parse_duplicate) (char* w1, char* w2, char* w3, char* w4, const char* start, const char* buffer, const char* filepath, int options, int *retval);
+ const char *(*parse_duplicate) (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);
int (*duplicate4instance) (struct npc_data *snd, int16 m);
void (*setcells) (struct npc_data *nd);
int (*unsetcells_sub) (struct block_list *bl, va_list ap);