diff options
author | shennetsind <ind@henn.et> | 2013-07-25 06:07:58 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-25 06:07:58 -0300 |
commit | 583272234fc96da7911029cd3cad13a7fb386e9e (patch) | |
tree | 26ebd840a474d54b3e73810c5306084c9383e516 /src/map/battleground.c | |
parent | 0090e0303d9dd56e91b88fa331c3952097c592da (diff) | |
download | hercules-583272234fc96da7911029cd3cad13a7fb386e9e.tar.gz hercules-583272234fc96da7911029cd3cad13a7fb386e9e.tar.bz2 hercules-583272234fc96da7911029cd3cad13a7fb386e9e.tar.xz hercules-583272234fc96da7911029cd3cad13a7fb386e9e.zip |
Expanding script.c interface
Hercules Renewal Phase One.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r-- | src/map/battleground.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c index 9127c89b9..198ad6bad 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -508,8 +508,8 @@ void bg_begin(struct bg_arena *arena) { bg->match_over(arena,true); } else { arena->ongoing = true; - mapreg_setreg(add_str("$@bg_queue_id"),arena->queue_id);/* TODO: make this a arena-independant var? or just .@? */ - mapreg_setregstr(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 */ |