diff options
author | Haru <haru@dotalux.com> | 2015-12-15 20:09:59 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-15 20:21:28 +0100 |
commit | 417a9ab25eb346be8ae383bf521b213e19fe0ac2 (patch) | |
tree | 0218e8828a8c294e621a327552cda100428ba0ff /src/map/npc.h | |
parent | 09f08f55feee1c4368348693cf812a73d56e8fc9 (diff) | |
download | hercules-417a9ab25eb346be8ae383bf521b213e19fe0ac2.tar.gz hercules-417a9ab25eb346be8ae383bf521b213e19fe0ac2.tar.bz2 hercules-417a9ab25eb346be8ae383bf521b213e19fe0ac2.tar.xz hercules-417a9ab25eb346be8ae383bf521b213e19fe0ac2.zip |
Added const qualifier to the w1~w4 arguments of npc_parse_function
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 00b9c4d3c..969f77f3d 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -254,7 +254,7 @@ struct npc_interface { void (*setdisplayname) (struct npc_data *nd, const char *newname); void (*setclass) (struct npc_data *nd, short class_); int (*do_atcmd_event) (struct map_session_data *sd, const char *command, const char *message, const char *eventname); - const char* (*parse_function) (char *w1, char *w2, char *w3, char *w4, const char *start, const char *buffer, const char *filepath, int *retval); + 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_mapflag) (const char *w1, const char *w2, const char *w3, const char *w4, const char *start, const char *buffer, const char *filepath, int *retval); |