summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-03 15:26:12 +0100
committerHaru <haru@dotalux.com>2015-11-12 00:01:32 +0100
commit57f09704aaa62295a9a967726a0dbabda40770c4 (patch)
treebcc01b809712bdbd6ef2f7fff0faf4f80e382b09 /src/map/npc.h
parent556ea4c20bb7ca06adb572ccefc1986f71e6a5c0 (diff)
downloadhercules-57f09704aaa62295a9a967726a0dbabda40770c4.tar.gz
hercules-57f09704aaa62295a9a967726a0dbabda40770c4.tar.bz2
hercules-57f09704aaa62295a9a967726a0dbabda40770c4.tar.xz
hercules-57f09704aaa62295a9a967726a0dbabda40770c4.zip
Added subtype initializer to npc_create_npc
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 213c5df38..bec17fd8d 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -231,7 +231,7 @@ struct npc_interface {
void (*parsename) (struct npc_data *nd, const char *name, const char *start, const char *buffer, const char *filepath);
int (*parseview) (const char *w4, const char *start, const char *buffer, const char *filepath);
bool (*viewisid) (const char *viewid);
- struct npc_data *(*create_npc) (int m, int x, int y, uint8 dir, int16 class_);
+ 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) (char *w1, char *w2, char *w3, 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);