MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / exit

Method exit

src/Battlescape/CivilianBAIState.cpp:109–112  ·  view source on GitHub ↗

* Exits the current AI state. */

Source from the content-addressed store, hash-verified

107 * Exits the current AI state.
108 */
109void CivilianBAIState::exit()
110{
111 if (_toNode) _toNode->freeNode();
112}
113
114/**
115 * Runs any code the state needs to keep updating every AI cycle.

Callers

nothing calls this directly

Calls 1

freeNodeMethod · 0.80

Tested by

no test coverage detected