MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AIPathAtEnd

Function AIPathAtEnd

Descent3/aipath.cpp:273–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273bool AIPathAtEnd(ai_path_info *aip) {
274 if (aip->cur_path == aip->num_paths - 1 && aip->cur_node == aip->path_end_node[aip->num_paths - 1])
275 return true;
276 else
277 return false;
278}
279
280static void AIPathSetAtEnd(ai_path_info *aip) {
281 aip->cur_path = aip->num_paths - 1;

Callers 2

AIDoOrientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected