diff options
author | Haru <haru@dotalux.com> | 2015-12-15 19:52:31 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-15 20:21:28 +0100 |
commit | 0c4b3b1c57a8e75f1b13456fb60de3a69e680f45 (patch) | |
tree | 0b866d1314da19d77f2f67c04d3f86d2b7b11fae /src/map/npc.h | |
parent | 7881ebb6cb8f90a3f586c1f7af1543a2c3e1b661 (diff) | |
download | hercules-0c4b3b1c57a8e75f1b13456fb60de3a69e680f45.tar.gz hercules-0c4b3b1c57a8e75f1b13456fb60de3a69e680f45.tar.bz2 hercules-0c4b3b1c57a8e75f1b13456fb60de3a69e680f45.tar.xz hercules-0c4b3b1c57a8e75f1b13456fb60de3a69e680f45.zip |
Added const qualifier to the w1~w4 arguments of npc_parse_shop
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 4899838f1..9f8767877 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -235,7 +235,7 @@ struct npc_interface { struct npc_data *(*create_npc) (enum npc_subtype subtype, int m, int x, int y, uint8 dir, int16 class_); 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) (char *w1, char *w2, char *w3, 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); 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); |