Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenXcom/OpenXcom
/ abortPath
Method
abortPath
src/Battlescape/Pathfinding.cpp:543–547 ·
view source on GitHub ↗
* Aborts the current path. Clears the path vector. */
Source
from the content-addressed store, hash-verified
541
* Aborts the current path. Clears the path vector.
542
*/
543
void Pathfinding::abortPath()
544
{
545
_totalTUCost = 0;
546
_path.clear();
547
}
548
549
550
/**
Callers
9
think
Method · 0.80
setupPatrol
Method · 0.80
setupEscape
Method · 0.80
selectPointNearTarget
Method · 0.80
wayPointAction
Method · 0.80
think
Method · 0.80
cancel
Method · 0.80
setupEscape
Method · 0.80
setupPatrol
Method · 0.80
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected