| 316 | } |
| 317 | |
| 318 | bool AIPathGetNextNodePos(ai_path_info *aip, vector *pos, int *room) { |
| 319 | if (AIPathMoveToNextNode(aip)) { |
| 320 | AIPathGetCurrentNodePos(aip, pos, room); |
| 321 | AIPathMoveToPrevNode(aip); |
| 322 | |
| 323 | return true; |
| 324 | } |
| 325 | |
| 326 | return false; |
| 327 | } |
| 328 | |
| 329 | bool AIPathGetPrevNodePos(ai_path_info *aip, vector *pos, int *room) { |
| 330 | if (AIPathMoveToPrevNode(aip)) { |
no test coverage detected