diff options
author | Haru <haru@dotalux.com> | 2013-07-17 05:29:19 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-07-17 05:29:19 +0200 |
commit | 857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65 (patch) | |
tree | d71a14fd519210ac9735f804e0bb7a046ff7cbd5 /src/map/clif.h | |
parent | f530cfe173bc5e9ac177adac0ae4aef33164838f (diff) | |
download | hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.tar.gz hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.tar.bz2 hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.tar.xz hercules-857e4fb58b26ea088c0ad92ec5b1ac9423ec1e65.zip |
Added missing initialization of some functions in the homunculus interface
- Fixes issue #7536 (thanks to jTynne for the report)
http://hercules.ws/board/tracker/issue-7536-map-crash-july-15th/
- Minor corrections to the other interfaces as well (reordered
initialization to follow the definitions, removed duplicate entry in
the skill interface initialization, commented out some unused entries)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index e1744b4e8..2cf193965 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -918,6 +918,9 @@ struct clif_interface { void (*notify_time) (struct map_session_data* sd, unsigned long time); void (*user_count) (struct map_session_data* sd, int count); void (*noask_sub) (struct map_session_data *src, struct map_session_data *target, int type); + void (*bc_ready) (void); + int (*undisguise_timer) (int tid, unsigned int tick, int id, intptr_t data); + /* Hercules Channel System */ void (*chsys_create) (struct hChSysCh *channel, char *name, char *pass, unsigned char color); void (*chsys_msg) (struct hChSysCh *channel, struct map_session_data *sd, char *msg); void (*chsys_msg2) (struct hChSysCh *channel, char *msg); @@ -930,8 +933,6 @@ struct clif_interface { void (*chsys_quitg) (struct map_session_data *sd); void (*chsys_gjoin) (struct guild *g1,struct guild *g2); void (*chsys_gleave) (struct guild *g1,struct guild *g2); - void (*bc_ready) (void); - int (*undisguise_timer) (int tid, unsigned int tick, int id, intptr_t data); /*------------------------ *- Parse Incoming Packet *------------------------*/ |