summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llstatemachine.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-29 16:09:11 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-29 16:09:11 -0800
commit6d9713e8ed691882180c85e60070d80e1e3eed5e (patch)
treea9737f254ef00900ec40120b020621ad64e198c3 /indra/llcharacter/llstatemachine.cpp
parent0bb7a85d06e7201887962000cb3e91bf456ffa09 (diff)
parent682f8afcc073b62fed64a3fd2adc5f65793e1f3e (diff)
merge from viewer2.
Diffstat (limited to 'indra/llcharacter/llstatemachine.cpp')
-rw-r--r--indra/llcharacter/llstatemachine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcharacter/llstatemachine.cpp b/indra/llcharacter/llstatemachine.cpp
index 73c6951211..e6fa4d7985 100644
--- a/indra/llcharacter/llstatemachine.cpp
+++ b/indra/llcharacter/llstatemachine.cpp
@@ -54,6 +54,7 @@ bool operator!=(const LLUniqueID &a, const LLUniqueID &b)
//-----------------------------------------------------------------------------
LLStateDiagram::LLStateDiagram()
{
+ mDefaultState = NULL;
mUseDefaultState = FALSE;
}
@@ -305,6 +306,7 @@ LLStateMachine::LLStateMachine()
// we haven't received a starting state yet
mCurrentState = NULL;
mLastState = NULL;
+ mLastTransition = NULL;
mStateDiagram = NULL;
}