From a9caa4ea37115869eb3926ca6e4c53709e7d9337 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 5 Nov 2018 23:53:43 +0300 Subject: Update HPM hooks. --- src/common/HPMSymbols.inc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/common/HPMSymbols.inc.h') diff --git a/src/common/HPMSymbols.inc.h b/src/common/HPMSymbols.inc.h index 15acb1b06..146379508 100644 --- a/src/common/HPMSymbols.inc.h +++ b/src/common/HPMSymbols.inc.h @@ -218,6 +218,9 @@ struct npc_interface *npc; #ifdef COMMON_NULLPO_H /* nullpo */ struct nullpo_interface *nullpo; #endif // COMMON_NULLPO_H +#ifdef COMMON_PACKETS_H /* packets */ +struct packets_interface *packets; +#endif // COMMON_PACKETS_H #ifdef MAP_PARTY_H /* party */ struct party_interface *party; #endif // MAP_PARTY_H @@ -559,6 +562,10 @@ HPExport const char *HPM_shared_symbols(int server_type) if ((server_type&(SERVER_TYPE_ALL)) != 0 && !HPM_SYMBOL("nullpo", nullpo)) return "nullpo"; #endif // COMMON_NULLPO_H +#ifdef COMMON_PACKETS_H /* packets */ + if ((server_type&(SERVER_TYPE_ALL)) != 0 && !HPM_SYMBOL("packets", packets)) + return "packets"; +#endif // COMMON_PACKETS_H #ifdef MAP_PARTY_H /* party */ if ((server_type&(SERVER_TYPE_MAP)) != 0 && !HPM_SYMBOL("party", party)) return "party"; -- cgit v1.2.3-60-g2f50