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

Function AIPathAtStart

Descent3/aipath.cpp:266–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266bool AIPathAtStart(ai_path_info *aip) {
267 if (aip->cur_path == 0 && aip->cur_node == aip->path_start_node[0])
268 return true;
269 else
270 return false;
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])

Callers 2

AIDoOrientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected