diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-06-05 15:55:37 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-06-05 15:55:37 +0000 |
commit | 62661b8f478486e970860072d7db86f11c59514d (patch) | |
tree | 0609cf2af171d527e56e0bf639e3cd7eb297397d /src/map/script.c | |
parent | 7fa39d09939706c5ce829c7a44766ba8c101efd2 (diff) | |
download | hercules-62661b8f478486e970860072d7db86f11c59514d.tar.gz hercules-62661b8f478486e970860072d7db86f11c59514d.tar.bz2 hercules-62661b8f478486e970860072d7db86f11c59514d.tar.xz hercules-62661b8f478486e970860072d7db86f11c59514d.zip |
* Job_Battle_Manual and Battle_Manual can be used simultaneously.
* Fixed "sleep" after "attachrid" (a different rid) halts the script.(bugreport:3181)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13846 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index b5e00fe55..913682c89 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -3203,6 +3203,7 @@ void run_script_main(struct script_state *st) if(st->sleep.tick > 0) { //Delay execution + sd = map_id2sd(st->rid); // Refresh sd since script might have attached someone while running. [Inkfish] st->sleep.charid = sd?sd->status.char_id:0; st->sleep.timer = add_timer(gettick()+st->sleep.tick, run_script_timer, st->sleep.charid, (intptr)st); |