diff options
author | shennetsind <ind@henn.et> | 2013-11-04 21:13:19 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-04 22:32:36 -0200 |
commit | 0a965aafde882e905ea71f3bcef8f4ff81c1c327 (patch) | |
tree | ab98747ab350cf16847418c68be191db99765a34 /src/map/map.c | |
parent | fa07bc455ebb511defa9623fedc8074d66135c19 (diff) | |
download | hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.gz hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.bz2 hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.xz hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.zip |
pc_groups interfaced
The last file without a interface is now no more (date.h doesn't count :P).
Modified the way permissions are stored in order to enable plugins to be able to create permissions ( pcg->add_permission("name") [returns permission key] ).
Special Thanks to Haruna!
Closes #121
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 2a2f98bdc..781cc0ff9 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5342,6 +5342,7 @@ void map_hp_symbols(void) { HPM->share(skill,"skill"); HPM->share(vending,"vending"); HPM->share(pc,"pc"); + HPM->share(pcg,"pc_groups"); HPM->share(party,"party"); HPM->share(storage,"storage"); HPM->share(trade,"trade"); @@ -5396,6 +5397,7 @@ void map_load_defaults(void) { skill_defaults(); vending_defaults(); pc_defaults(); + pc_groups_defaults(); party_defaults(); storage_defaults(); trade_defaults(); |