From 8cd8f32c78c541fc8ae99d2c00465e7c9bb00340 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Sun, 3 May 2009 02:59:53 +0000 Subject: [PATCH] * Fix 'awake' not working (bugreport:2580) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13717 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/script.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index c5bb0be5f3..567244eb54 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -5,6 +5,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2009/05/03 * Do not log damage if it's done by mob itself (bugreport:2933) [Inkfish] + * Fix 'awake' not working (bugreport:2580) [Inkfish] 2009/05/02 * Spirit of Bard and Dancer now only works for mastered skills (bugreport:3037) [Playtester] - also fixed an outdated comment in the source code diff --git a/src/map/script.c b/src/map/script.c index 0aa92003a2..0bd5bbb35a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -12921,7 +12921,7 @@ BUILDIN_FUNC(awake) delete_timer(tst->sleep.timer, run_script_timer); node = script_erase_sleepdb(node); tst->sleep.timer = INVALID_TIMER; - tst->sleep.tick = 0; + //tst->sleep.tick = 0; run_script_main(tst); } else