From 83ec8701872e38ca2d801ab3812972cc19e8167e Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 15 Dec 2015 20:12:36 +0100 Subject: Added const qualifier to the w1~w4 arguments of npc_parse_mob Signed-off-by: Haru --- src/map/npc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 969f77f3d..829b915d7 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -256,7 +256,7 @@ struct npc_interface { int (*do_atcmd_event) (struct map_session_data *sd, const char *command, const char *message, const char *eventname); const char *(*parse_function) (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_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_mob) (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_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); -- cgit v1.2.3-60-g2f50