update comment

This commit is contained in:
David Rose 2002-09-04 21:00:49 +00:00
parent de62ddc3e4
commit 0bb406b5b4

View File

@ -198,6 +198,12 @@ class FSM(DirectObject):
Return true is transition exists to given state,
false otherwise.
"""
# If you trigger this assertion failure, you must have
# recursively requested a state transition from within the
# exitState() function for the previous state. This is not
# supported because we're not fully transitioned into the new
# state yet.
assert(not self.__internalStateInFlux)
if not self.__currentState: