From a1fa43850b996bb9da29286b1556781765b19073 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Fri, 25 Jan 2013 16:09:34 +0100 Subject: [PATCH] Comment fixes. --- indra/aistatemachine/aistatemachine.cpp | 2 +- indra/aistatemachine/aistatemachine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/aistatemachine/aistatemachine.cpp b/indra/aistatemachine/aistatemachine.cpp index cdaf2e3d4..5352435d2 100644 --- a/indra/aistatemachine/aistatemachine.cpp +++ b/indra/aistatemachine/aistatemachine.cpp @@ -176,7 +176,7 @@ void AIStateMachine::idle(state_type current_run_state) // About thread safeness: // // The main thread initializes a statemachine and calls run, so a statemachine -// runs in the main thread. However, it is allowed that a state calls idle() +// runs in the main thread. However, it is allowed that a state calls idle(current_state) // and then allows one or more other threads to call cont() upon some // event (only once, of course, as idle() has to be called before cont() // can be called again-- and a non-main thread is not allowed to call idle()). diff --git a/indra/aistatemachine/aistatemachine.h b/indra/aistatemachine/aistatemachine.h index 7ea285c01..9048260ba 100644 --- a/indra/aistatemachine/aistatemachine.h +++ b/indra/aistatemachine/aistatemachine.h @@ -264,7 +264,7 @@ class AIStateMachine { //! Halt the state machine until cont() is called (not thread-safe). void idle(void); - //! Halt the state machine until cont() is called, provided it is still in 'cur_run_state'. + //! Halt the state machine until cont() is called, provided it is still in 'current_run_state'. void idle(state_type current_run_state); //! Temporarily halt the state machine.