summaryrefslogtreecommitdiff
path: root/src/common/HPMSymbols.inc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-13 20:51:23 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:38 +0200
commit2af9259a48ef9d7ec864fa80d1cb0392f2f2ee7a (patch)
tree27911973127264619a7832dfcc286980a73dcc4c /src/common/HPMSymbols.inc.h
parent14d410fc8695049691bfb5e70e881020625f7a85 (diff)
downloadhercules-2af9259a48ef9d7ec864fa80d1cb0392f2f2ee7a.tar.gz
hercules-2af9259a48ef9d7ec864fa80d1cb0392f2f2ee7a.tar.bz2
hercules-2af9259a48ef9d7ec864fa80d1cb0392f2f2ee7a.tar.xz
hercules-2af9259a48ef9d7ec864fa80d1cb0392f2f2ee7a.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPMSymbols.inc.h')
-rw-r--r--src/common/HPMSymbols.inc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/HPMSymbols.inc.h b/src/common/HPMSymbols.inc.h
index 2bd20aa8e..24aefe06a 100644
--- a/src/common/HPMSymbols.inc.h
+++ b/src/common/HPMSymbols.inc.h
@@ -179,6 +179,9 @@ struct mercenary_interface *mercenary;
#ifdef MAP_MOB_H /* mob */
struct mob_interface *mob;
#endif // MAP_MOB_H
+#ifdef COMMON_MUTEX_H /* mutex */
+struct mutex_interface *mutex;
+#endif // COMMON_MUTEX_H
#ifdef MAP_NPC_H /* npc_chat */
struct npc_chat_interface *npc_chat;
#endif // MAP_NPC_H
@@ -417,6 +420,9 @@ if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mercenary", mercenary)) retu
#ifdef MAP_MOB_H /* mob */
if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mob", mob)) return "mob";
#endif // MAP_MOB_H
+#ifdef COMMON_MUTEX_H /* mutex */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("mutex", mutex)) return "mutex";
+#endif // COMMON_MUTEX_H
#ifdef MAP_NPC_H /* npc_chat */
if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("npc_chat", npc_chat)) return "npc_chat";
#endif // MAP_NPC_H