summaryrefslogtreecommitdiff
path: root/src/map/battleground.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-16 11:19:51 -0300
committershennetsind <ind@henn.et>2013-09-16 11:19:51 -0300
commit4337e65f1dc35d244dc3abf43ed084c43d064b24 (patch)
tree598423105fe23159df0753f1def2a4af1660280f /src/map/battleground.c
parent95e13fe4774a7c46c15c6e41ab28338cca827ecc (diff)
downloadhercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.tar.gz
hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.tar.bz2
hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.tar.xz
hercules-4337e65f1dc35d244dc3abf43ed084c43d064b24.zip
HPM: Mapreg_sql.c Interface
Fully Integrated Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r--src/map/battleground.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c
index 66586c5fe..eb91f0066 100644
--- a/src/map/battleground.c
+++ b/src/map/battleground.c
@@ -532,8 +532,8 @@ void bg_begin(struct bg_arena *arena) {
bg->match_over(arena,true);
} else {
arena->ongoing = true;
- mapreg_setreg(script->add_str("$@bg_queue_id"),arena->queue_id);/* TODO: make this a arena-independant var? or just .@? */
- mapreg_setregstr(script->add_str("$@bg_delay_var$"),bg->gdelay_var);
+ mapreg->setreg(script->add_str("$@bg_queue_id"),arena->queue_id);/* TODO: make this a arena-independant var? or just .@? */
+ mapreg->setregstr(script->add_str("$@bg_delay_var$"),bg->gdelay_var);
npc->event_do(arena->npc_event);
/* we split evenly? */
/* but if a party of say 10 joins, it cant be split evenly unless by luck there are 10 soloers in the queue besides them */