summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-04-08 16:58:36 -0700
committerPixel <pixel@nobis-crew.org>2012-04-08 16:58:36 -0700
commitca8545b1639f0f33f99b2ce3969874ccc7a79d62 (patch)
tree75d61e8e1247502b387250ac1ff06271c5270e1e /includes
parent1548da7eb85e8199e49c0a4e7e3c53fb2184177e (diff)
Broken assert.
Diffstat (limited to 'includes')
-rw-r--r--includes/Task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Task.h b/includes/Task.h
index e9c2add..159e68d 100644
--- a/includes/Task.h
+++ b/includes/Task.h
@@ -167,7 +167,7 @@ class Task {
return oldValue;
}
void setStackless() {
- AAssert(m_stackless, "Can't set a task to be stackless twice");
+ AAssert(!m_stackless, "Can't set a task to be stackless twice");
AAssert(m_status == STARTING, "Can't set a task to be stackless after it started. status = %s", StatusToString(m_status));
m_stackless = true;
m_okayToEAgain = true;