| 1288 | } |
| 1289 | |
| 1290 | void zNPCDutchman::SelfSetup() |
| 1291 | { |
| 1292 | xBehaveMgr* bmgr = xBehaveMgr_GetSelf(); |
| 1293 | this->psy_instinct = bmgr->Subscribe(this, 0); |
| 1294 | xPsyche* psy = this->psy_instinct; |
| 1295 | psy->BrainBegin(); |
| 1296 | S32 i; |
| 1297 | for (i = NPC_GOAL_DUTCHMANNIL; i <= NPC_GOAL_DUTCHMANDEATH; i++) |
| 1298 | { |
| 1299 | psy->AddGoal(i, this); |
| 1300 | } |
| 1301 | psy->BrainEnd(); |
| 1302 | psy->SetSafety(NPC_GOAL_DUTCHMANIDLE); |
| 1303 | } |
| 1304 | |
| 1305 | void zNPCDutchman::Damage(en_NPC_DAMAGE_TYPE, xBase*, const xVec3*) |
| 1306 | { |
nothing calls this directly
no test coverage detected