diff options
author | shennetsind <ind@henn.et> | 2013-10-07 13:40:34 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-07 13:40:34 -0300 |
commit | c56e3eb701658079f1de09db759f3b09327ec046 (patch) | |
tree | a37f7ff23a9adc9d7c725b85f94cf25685e30aba /src/map/clif.h | |
parent | baa5c1fc386a706ba4bf4aa48409b8947274c928 (diff) | |
download | hercules-c56e3eb701658079f1de09db759f3b09327ec046.tar.gz hercules-c56e3eb701658079f1de09db759f3b09327ec046.tar.bz2 hercules-c56e3eb701658079f1de09db759f3b09327ec046.tar.xz hercules-c56e3eb701658079f1de09db759f3b09327ec046.zip |
Fixed Bug #7744
Adjusted missing #ifdef behavior to be friendly to the hooking.
http://hercules.ws/board/tracker/issue-7744-compiler-error-on-hpm-hooking-after-undefined-packetver-re/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 1e054db1d..31808ddcc 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -546,10 +546,8 @@ struct clif_interface { int (*clearunit_delayed_sub) (int tid, unsigned int tick, int id, intptr_t data); void (*set_unit_idle) (struct block_list* bl, struct map_session_data *tsd,enum send_target target); void (*spawn_unit) (struct block_list* bl, enum send_target target); -#if PACKETVER < 20091103 void (*spawn_unit2) (struct block_list* bl, enum send_target target); void (*set_unit_idle2) (struct block_list* bl, struct map_session_data *tsd, enum send_target target); -#endif void (*set_unit_walking) (struct block_list* bl, struct map_session_data *tsd,struct unit_data* ud, enum send_target target); int (*calc_walkdelay) (struct block_list *bl,int delay, int type, int damage, int div_); void (*getareachar_skillunit) (struct map_session_data *sd, struct skill_unit *su); @@ -905,13 +903,11 @@ struct clif_interface { void (*PartyBookingDeleteNotify) (struct map_session_data* sd, int index); void (*PartyBookingInsertNotify) (struct map_session_data* sd, struct party_booking_ad_info* pb_ad); /* Group Search System Update */ -#ifdef PARTY_RECRUIT void (*PartyBookingVolunteerInfo) (int index, struct map_session_data *sd); void (*PartyBookingRefuseVolunteer) (unsigned long aid, struct map_session_data *sd); void (*PartyBookingCancelVolunteer) (int index, struct map_session_data *sd); void (*PartyBookingAddFilteringList) (int index, struct map_session_data *sd); void (*PartyBookingSubFilteringList) (int gid, struct map_session_data *sd); -#endif /* buying store-related */ void (*buyingstore_open) (struct map_session_data* sd); void (*buyingstore_open_failed) (struct map_session_data* sd, unsigned short result, unsigned int weight); @@ -1173,13 +1169,11 @@ struct clif_interface { void (*pPartyTick) (int fd, struct map_session_data *sd); void (*pGuildInvite2) (int fd, struct map_session_data *sd); /* Group Search System Update */ -#ifdef PARTY_RECRUIT void (*pPartyBookingAddFilter) (int fd, struct map_session_data *sd); void (*pPartyBookingSubFilter) (int fd, struct map_session_data *sd); void (*pPartyBookingReqVolunteer) (int fd, struct map_session_data *sd); void (*pPartyBookingRefuseVolunteer) (int fd, struct map_session_data *sd); void (*pPartyBookingCancelVolunteer) (int fd, struct map_session_data *sd); -#endif }; struct clif_interface *clif; |