| 2470 | } |
| 2471 | |
| 2472 | void zNPCCommon::MvptReset(zMovePoint* nav_goto) |
| 2473 | { |
| 2474 | if (nav_goto) |
| 2475 | { |
| 2476 | this->nav_dest = nav_goto; |
| 2477 | } |
| 2478 | else |
| 2479 | { |
| 2480 | this->GetParm(NPC_PARM_FIRSTMVPT, &this->nav_dest); |
| 2481 | } |
| 2482 | |
| 2483 | this->nav_past = this->nav_dest; |
| 2484 | this->nav_curr = this->nav_dest; |
| 2485 | this->nav_lead = this->nav_dest; |
| 2486 | this->spl_mvptspline = NULL; |
| 2487 | this->len_mvptspline = 0.0f; |
| 2488 | this->dst_curspline = 0.0f; |
| 2489 | } |
| 2490 | |
| 2491 | S32 zNPCCommon::MvptCycle() |
| 2492 | { |
no test coverage detected