Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Generals/Code/GameEngine/Include/GameLogic/AIStateMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ class AIStateMachine : public StateMachine
Squad * m_goalSquad;

/** A temporary state to run for a while (usually AI_MOVE_OUT_OF_THE_WAY).
Doesn't clear or reset the state machine, so it goes back to doing what it was doing. jba. */
Setting it doesn't clear or reset the state machine, so it goes back to doing what it was doing. jba.
Its own update can still clear the state machine; without RETAIL_COMPATIBLE_CRC that also resets the temporary state. */
State *m_temporaryState;
UnsignedInt m_temporaryStateFramEnd; ///< Last frame to run m_temporaryState.
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ class AIStateMachine : public StateMachine
Squad * m_goalSquad;

/** A temporary state to run for a while (usually AI_MOVE_OUT_OF_THE_WAY).
Doesn't clear or reset the state machine, so it goes back to doing what it was doing. jba. */
Setting it doesn't clear or reset the state machine, so it goes back to doing what it was doing. jba.
Its own update can still clear the state machine; without RETAIL_COMPATIBLE_CRC that also resets the temporary state. */
State *m_temporaryState;
UnsignedInt m_temporaryStateFramEnd; ///< Last frame to run m_temporaryState.
};
Expand Down