From 6d6ee8c436aa37aaf0afa9e5873e5778234cef37 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 15 Dec 2015 19:44:42 +0100 Subject: Added const qualifier to the w1~w4 arguments of npc_parse_mapflag - This is necessary before merging #960 Signed-off-by: Haru --- src/map/npc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index d5e4618a1..3d046008b 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -257,8 +257,8 @@ struct npc_interface { const char* (*parse_function) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); void (*parse_mob2) (struct spawn_data *mobspawn); const char* (*parse_mob) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); - const char* (*parse_mapflag) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); - void (*parse_unknown_mapflag) (const char *name, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); + const char *(*parse_mapflag) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval); + void (*parse_unknown_mapflag) (const char *name, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval); int (*parsesrcfile) (const char *filepath, bool runOnInit); int (*script_event) (struct map_session_data *sd, enum npce_event type); void (*read_event_script) (void); -- cgit v1.2.3-60-g2f50