summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-17 08:50:23 -0300
committershennetsind <ind@henn.et>2013-09-17 08:50:23 -0300
commit35c131c7ff945bff238e3e242e513b5fe42a0067 (patch)
tree44e17eaad2b233e1b9dc6ef93c00b61ce992b25f /src/map/battle.c
parent5ac2ced45782fc15a9da9c0e714d201acfa5d20c (diff)
downloadhercules-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/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index e2be5b520..85fa2cb98 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -6028,8 +6028,8 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
int sbg_id = 0, tbg_id = 0;
if( map[m].flag.battleground )
{
- sbg_id = bg_team_get_id(s_bl);
- tbg_id = bg_team_get_id(t_bl);
+ sbg_id = bg->team_get_id(s_bl);
+ tbg_id = bg->team_get_id(t_bl);
}
if( flag&(BCT_PARTY|BCT_ENEMY) )
{