MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / MvptReset

Method MvptReset

src/SB/Game/zNPCTypeCommon.cpp:2472–2489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2470}
2471
2472void 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
2491S32 zNPCCommon::MvptCycle()
2492{

Callers 2

EnterMethod · 0.80
ViciousAttackMethod · 0.80

Calls 1

GetParmMethod · 0.95

Tested by

no test coverage detected