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

Method CollideReview

src/SB/Game/zNPCTypeVillager.cpp:538–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536 }
537}
538void zNPCVillager::CollideReview()
539{
540 zNPCGoalCommon* goal;
541 S32 goaldidit;
542
543 goaldidit = 0;
544 goal = (zNPCGoalCommon*)this->psy_instinct->GetCurGoal();
545 if ((goal != NULL) && ((goal->flg_npcgable & 1) != 0))
546 {
547 goal->Name();
548 goaldidit = goal->CollReview(0);
549 }
550 if (goaldidit == 0)
551 {
552 zNPCCommon::CollideReview();
553 }
554 return;
555}
556
557void zNPCVillager::SelfSetup()
558{

Callers

nothing calls this directly

Calls 4

GetCurGoalMethod · 0.80
CollideReviewFunction · 0.50
NameMethod · 0.45
CollReviewMethod · 0.45

Tested by

no test coverage detected