diff options
author | shennetsind <ind@henn.et> | 2013-05-15 21:56:21 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-15 21:56:21 -0300 |
commit | c7f3f6c2ceae862866a019d0a438d8f965b042c2 (patch) | |
tree | 1da2a986123b23a05c8722ccc68a949473d84fb9 /src/map/status.c | |
parent | c811ddb181a15eae8a6d01a6956ae7c654f424b2 (diff) | |
download | hercules-c7f3f6c2ceae862866a019d0a438d8f965b042c2.tar.gz hercules-c7f3f6c2ceae862866a019d0a438d8f965b042c2.tar.bz2 hercules-c7f3f6c2ceae862866a019d0a438d8f965b042c2.tar.xz hercules-c7f3f6c2ceae862866a019d0a438d8f965b042c2.zip |
Hercules Renewal Phase One: guild.c started
http://hercules.ws/board/topic/237-hercules-renewal/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index fd9ef1d2e..b7e906910 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2096,7 +2096,7 @@ int status_calc_mob_(struct mob_data* md, bool first) if(flag&4) { // Strengthen Guardians - custom value +10% / lv struct guild_castle *gc; - gc=guild_mapname2gc(map[md->bl.m].name); + gc=guild->mapname2gc(map[md->bl.m].name); if (!gc) ShowError("status_calc_mob: No castle set at map %s\n", map[md->bl.m].name); else @@ -5876,7 +5876,7 @@ int status_get_emblem_id(struct block_list *bl) { break; case BL_NPC: if (((TBL_NPC*)bl)->subtype == SCRIPT && ((TBL_NPC*)bl)->u.scr.guild_id > 0) { - struct guild *g = guild_search(((TBL_NPC*)bl)->u.scr.guild_id); + struct guild *g = guild->search(((TBL_NPC*)bl)->u.scr.guild_id); if (g) return g->emblem_id; } |