summaryrefslogtreecommitdiff
path: root/src/map/HPMmap.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-06 20:18:07 +0100
committerGitHub <noreply@github.com>2018-02-06 20:18:07 +0100
commit19c94017a31d86f7848085162ffb741770975128 (patch)
tree33a5cf4b2a580a07f1b3868153123fe4dce49f2f /src/map/HPMmap.c
parenta928f009f5a7bad77eda090ec7af551c2f647d5b (diff)
parent587dd19c0269b3c8089838a5442260a185b19ead (diff)
downloadhercules-19c94017a31d86f7848085162ffb741770975128.tar.gz
hercules-19c94017a31d86f7848085162ffb741770975128.tar.bz2
hercules-19c94017a31d86f7848085162ffb741770975128.tar.xz
hercules-19c94017a31d86f7848085162ffb741770975128.zip
Merge pull request #1718 from Murilo-BiO/clan_system
Implementation of Official Clan System
Diffstat (limited to 'src/map/HPMmap.c')
-rw-r--r--src/map/HPMmap.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/map/HPMmap.c b/src/map/HPMmap.c
index 381dbf599..17b4fd813 100644
--- a/src/map/HPMmap.c
+++ b/src/map/HPMmap.c
@@ -54,6 +54,7 @@
#include "map/channel.h"
#include "map/chat.h"
#include "map/chrif.h"
+#include "map/clan.h"
#include "map/clif.h"
#include "map/date.h"
#include "map/duel.h"
@@ -114,21 +115,22 @@ unsigned int atcommand_list_items = 0;
bool HPM_map_data_store_validate(enum HPluginDataTypes type, struct hplugin_data_store **storeptr, bool initialize)
{
switch (type) {
- case HPDT_MSD:
- case HPDT_NPCD:
- case HPDT_MAP:
- case HPDT_PARTY:
- case HPDT_GUILD:
- case HPDT_INSTANCE:
- case HPDT_MOBDB:
- case HPDT_MOBDATA:
- case HPDT_ITEMDATA:
- case HPDT_BGDATA:
- case HPDT_AUTOTRADE_VEND:
- // Initialized by the caller.
- return true;
- default:
- break;
+ case HPDT_MSD:
+ case HPDT_NPCD:
+ case HPDT_MAP:
+ case HPDT_PARTY:
+ case HPDT_GUILD:
+ case HPDT_INSTANCE:
+ case HPDT_MOBDB:
+ case HPDT_MOBDATA:
+ case HPDT_ITEMDATA:
+ case HPDT_BGDATA:
+ case HPDT_AUTOTRADE_VEND:
+ case HPDT_CLAN:
+ // Initialized by the caller.
+ return true;
+ default:
+ break;
}
return false;
}