diff options
author | shennetsind <ind@henn.et> | 2013-09-16 11:19:51 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-16 11:19:51 -0300 |
commit | 4337e65f1dc35d244dc3abf43ed084c43d064b24 (patch) | |
tree | 598423105fe23159df0753f1def2a4af1660280f /src/map/map.c | |
parent | 95e13fe4774a7c46c15c6e41ab28338cca827ecc (diff) | |
download | hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.tar.gz hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.tar.bz2 hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.tar.xz hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.zip |
HPM: Mapreg_sql.c Interface
Fully Integrated
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index e55dea152..a12a6579a 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3469,7 +3469,7 @@ int inter_config_read(char *cfgName) { else if(strcmpi(w1,"log_db_db")==0) strcpy(log_db_db, w2); /* mapreg */ - else if( mapreg_config_read(w1,w2) ) + else if( mapreg->config_read(w1,w2) ) continue; /* import */ else if(strcmpi(w1,"import")==0) @@ -5171,6 +5171,7 @@ void map_hp_symbols(void) { HPM->share(mob,"mob"); HPM->share(unit,"unit"); HPM->share(npc,"npc"); + HPM->share(mapreg,"mapreg"); /* partial */ HPM->share(mapit,"mapit"); @@ -5218,6 +5219,7 @@ void map_load_defaults(void) { mercenary_defaults(); mob_defaults(); unit_defaults(); + mapreg_defaults(); } int do_init(int argc, char *argv[]) { |