| 397 | } |
| 398 | |
| 399 | void zNPCVillager::Reset() |
| 400 | { |
| 401 | NPCConfig* cfg; |
| 402 | |
| 403 | zNPCCommon::Reset(); |
| 404 | |
| 405 | if (this->psy_instinct != NULL) |
| 406 | { |
| 407 | this->psy_instinct->GoalSet(NPC_GOAL_IDLE, 1); |
| 408 | } |
| 409 | |
| 410 | cfg = this->cfg_npc; |
| 411 | if (cfg->dst_castShadow < 0.0f) |
| 412 | { |
| 413 | cfg->dst_castShadow = 0.25f; |
| 414 | } |
| 415 | |
| 416 | cfg = this->cfg_npc; |
| 417 | if (cfg != NULL && cfg->rad_shadowCache < 0.0f) |
| 418 | { |
| 419 | cfg->rad_shadowCache = this->GenShadCacheRad(); |
| 420 | } |
| 421 | } |
| 422 | |
| 423 | void zNPCVillager::ParseINI() |
| 424 | { |
nothing calls this directly
no test coverage detected