From 7ba0b6482c1046505a419700392d2827ffc6d441 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Tue, 29 Jan 2013 20:49:53 +0100 Subject: [PATCH] Fix example code. --- indra/aistatemachine/aistatemachinethread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/aistatemachine/aistatemachinethread.h b/indra/aistatemachine/aistatemachinethread.h index 2c7fcad4f..bf835c214 100644 --- a/indra/aistatemachine/aistatemachinethread.h +++ b/indra/aistatemachine/aistatemachinethread.h @@ -130,7 +130,7 @@ void HelloWorld::multiplex_impl(void) case HelloWorld_start: { mHelloWorld.run(this, HelloWorld_done); // Run HelloWorldThread and set the state of 'this' to HelloWorld_done when finished. - // This statemachine is already idle() here (set to idle by the above call). + idle(HelloWorld_start); // Always go idle after starting a thread! break; } case HelloWorld_done: