diff options
author | shennetsind <ind@henn.et> | 2013-09-17 08:50:23 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-17 08:50:23 -0300 |
commit | 35c131c7ff945bff238e3e242e513b5fe42a0067 (patch) | |
tree | 44e17eaad2b233e1b9dc6ef93c00b61ce992b25f /src/map/map.c | |
parent | 5ac2ced45782fc15a9da9c0e714d201acfa5d20c (diff) | |
download | hercules-35c131c7ff945bff238e3e242e513b5fe42a0067.tar.gz hercules-35c131c7ff945bff238e3e242e513b5fe42a0067.tar.bz2 hercules-35c131c7ff945bff238e3e242e513b5fe42a0067.tar.xz hercules-35c131c7ff945bff238e3e242e513b5fe42a0067.zip |
HPM: Battleground.c Interface
Fully Integrated. Closes #97
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/map.c b/src/map/map.c index 5cc475ad7..a1c78f35b 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1540,7 +1540,7 @@ int map_quit(struct map_session_data *sd) { npc->event_dequeue(sd); if( sd->bg_id && !sd->bg_queue.arena ) /* TODO: dump this chunk after bg_queue is fully enabled */ - bg_team_leave(sd,1); + bg->team_leave(sd,1); skill->cooldown_save(sd); pc->itemcd_do(sd,false); @@ -4951,7 +4951,7 @@ void do_final(void) skill->final(); iStatus->do_final_status(); unit->final(); - do_final_battleground(); + bg->final(); iDuel->do_final_duel(); elemental->do_final_elemental(); do_final_maps(); @@ -5427,7 +5427,7 @@ int do_init(int argc, char *argv[]) quest->init(); npc->init(); unit->init(); - do_init_battleground(); + bg->init(); iDuel->do_init_duel(); vending->init(); |