aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/coroutine.h')
-rw-r--r--engines/tinsel/coroutine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/coroutine.h b/engines/tinsel/coroutine.h
index 82bc2c4cca..b14030c708 100644
--- a/engines/tinsel/coroutine.h
+++ b/engines/tinsel/coroutine.h
@@ -184,7 +184,7 @@ public:
* Stop the currently running coroutine.
*/
#define CORO_KILL_SELF() \
- do { if (&coroParam != &nullContext) { coroParam->_sleep = -1; } return; } while (0)
+ do { if (&coroParam != &nullContext) { coroParam->_sleep = 0; } return; } while (0)
/**