summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 09:14:35 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 09:14:35 +0000
commit08a80082e68dad8b961a0c8c6f5b5baf75084442 (patch)
treed65b9c9b06a065418ad38508e834a17d70518cd7 /src
parent90ea87059f8a27b37e6dbb245b6c4caab00ecd47 (diff)
downloadhercules-08a80082e68dad8b961a0c8c6f5b5baf75084442.tar.gz
hercules-08a80082e68dad8b961a0c8c6f5b5baf75084442.tar.bz2
hercules-08a80082e68dad8b961a0c8c6f5b5baf75084442.tar.xz
hercules-08a80082e68dad8b961a0c8c6f5b5baf75084442.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7392 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 208a91cf8..429cfb508 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11564,11 +11564,11 @@ void run_script_main(struct script_state *st)
intif_saveregistry(sd,2);
if (sd->state.reg_dirty&1)
intif_saveregistry(sd,1);
- } else {
+ }/* else {
script_free_stack (st->stack);
aFree(st);
}
- }/*else{
+ }else{
if(st->sleep.tick > 0)
{ //Delay execution
TBL_PC *sd = (TBL_PC *)map_id2bl(st->rid);
@@ -11576,8 +11576,8 @@ void run_script_main(struct script_state *st)
st->sleep.timer = add_timer(gettick()+st->sleep.tick,
run_script_timer, st->sleep.charid, (int)st);
linkdb_insert(&sleep_db, (void*)st->oid, st);
- }
- }*/
+ }*/
+ }
return;
}