summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-15 20:20:12 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:21:28 +0100
commitb6efa351c0a55a2f45ef8724c066f26e1c67a90f (patch)
tree3f4a806852108fd9c94a47158a91d718c975e762 /src/map/npc.h
parent83ec8701872e38ca2d801ab3812972cc19e8167e (diff)
downloadhercules-b6efa351c0a55a2f45ef8724c066f26e1c67a90f.tar.gz
hercules-b6efa351c0a55a2f45ef8724c066f26e1c67a90f.tar.bz2
hercules-b6efa351c0a55a2f45ef8724c066f26e1c67a90f.tar.xz
hercules-b6efa351c0a55a2f45ef8724c066f26e1c67a90f.zip
Added const qualifier to the w1~w4 arguments of npc_parse_unknown_object
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 829b915d7..96d00179e 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -236,7 +236,7 @@ struct npc_interface {
struct npc_data* (*add_warp) (char *name, short from_mapid, short from_x, short from_y, short xs, short ys, unsigned short to_mapindex, short to_x, short to_y);
const char *(*parse_warp) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
const char *(*parse_shop) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
- const char* (*parse_unknown_object) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval);
+ const char *(*parse_unknown_object) (const char *w1, const char *w2, const char *w3, const 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) (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);