summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 12:34:32 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-29 12:34:32 +0000
commitcd4293f57471c8d4a1549d0feb5398fa9bee3720 (patch)
tree09c6056d7ca09212008498cae73ada566361acd7
parent08a80082e68dad8b961a0c8c6f5b5baf75084442 (diff)
downloadhercules-cd4293f57471c8d4a1549d0feb5398fa9bee3720.tar.gz
hercules-cd4293f57471c8d4a1549d0feb5398fa9bee3720.tar.bz2
hercules-cd4293f57471c8d4a1549d0feb5398fa9bee3720.tar.xz
hercules-cd4293f57471c8d4a1549d0feb5398fa9bee3720.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7393 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 429cfb508..21fe6dab5 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);