summaryrefslogtreecommitdiff
path: root/src/common/HPMSymbols.inc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-13 21:13:32 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:40 +0200
commitd0355d1df812f75e22f2d0538a1850d4e1274078 (patch)
tree03fd55f341c33519ced7a98c157f4b110bd6228b /src/common/HPMSymbols.inc.h
parentbdfa016ce40fb7382206775d656ba5f751ac3b49 (diff)
downloadhercules-d0355d1df812f75e22f2d0538a1850d4e1274078.tar.gz
hercules-d0355d1df812f75e22f2d0538a1850d4e1274078.tar.bz2
hercules-d0355d1df812f75e22f2d0538a1850d4e1274078.tar.xz
hercules-d0355d1df812f75e22f2d0538a1850d4e1274078.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 24aefe06a..379c04b14 100644
--- a/src/common/HPMSymbols.inc.h
+++ b/src/common/HPMSymbols.inc.h
@@ -215,6 +215,9 @@ struct pincode_interface *pincode;
#ifdef MAP_QUEST_H /* quest */
struct quest_interface *quest;
#endif // MAP_QUEST_H
+#ifdef COMMON_RANDOM_H /* rnd */
+struct rnd_interface *rnd;
+#endif // COMMON_RANDOM_H
#ifdef MAP_SCRIPT_H /* script */
struct script_interface *script;
#endif // MAP_SCRIPT_H
@@ -456,6 +459,9 @@ if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("pincode", pincode)) return
#ifdef MAP_QUEST_H /* quest */
if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("quest", quest)) return "quest";
#endif // MAP_QUEST_H
+#ifdef COMMON_RANDOM_H /* rnd */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("rnd", rnd)) return "rnd";
+#endif // COMMON_RANDOM_H
#ifdef MAP_SCRIPT_H /* script */
if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("script", script)) return "script";
#endif // MAP_SCRIPT_H