diff options
author | shennetsind <shennetsind@users.noreply.github.com> | 2013-11-06 15:10:38 -0800 |
---|---|---|
committer | shennetsind <shennetsind@users.noreply.github.com> | 2013-11-06 15:10:38 -0800 |
commit | 87d7348396af97428638723ae49ca2ff166e4acd (patch) | |
tree | f9cebecab0aaf281a8ebb5405648fe8d0b731ecb /src/map/battleground.c | |
parent | 7d1bbde0046ee7520c907e090f1b4087eb713172 (diff) | |
parent | 4fbe8e2a270997b02e2e002074259e4648ac0031 (diff) | |
download | hercules-87d7348396af97428638723ae49ca2ff166e4acd.tar.gz hercules-87d7348396af97428638723ae49ca2ff166e4acd.tar.bz2 hercules-87d7348396af97428638723ae49ca2ff166e4acd.tar.xz hercules-87d7348396af97428638723ae49ca2ff166e4acd.zip |
Merge pull request #217 from HerculesWS/script-checker
Introducing the Hercules Standalone Script Syntax Checker
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r-- | src/map/battleground.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c index 62688659e..76cf22471 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -757,7 +757,10 @@ enum BATTLEGROUNDS_QUEUE_ACK bg_canqueue(struct map_session_data *sd, struct bg_ return BGQA_SUCCESS; } -void do_init_battleground(void) { +void do_init_battleground(bool minimal) { + if (minimal) + return; + bg->team_db = idb_alloc(DB_OPT_RELEASE_DATA); timer->add_func_list(bg->send_xy_timer, "bg_send_xy_timer"); timer->add_interval(timer->gettick() + battle_config.bg_update_interval, bg->send_xy_timer, 0, 0, battle_config.bg_update_interval); |