| 648 | } |
| 649 | |
| 650 | void zNPCRobot::DuploOwner(zNPCCommon* duper) |
| 651 | { |
| 652 | zNPCCommon::DuploOwner(duper); |
| 653 | |
| 654 | xPsyche* psyche = this->psy_instinct; |
| 655 | |
| 656 | if (psyche) |
| 657 | { |
| 658 | zNPCGoalDead* dead = (zNPCGoalDead*)psyche->FindGoal('NGRj'); |
| 659 | dead->DieQuietly(); |
| 660 | psyche->GoalSet('NGRj', 1); |
| 661 | } |
| 662 | } |
| 663 | |
| 664 | void zNPCRobot::AddLassoing(xPsyche* psyche, xGoalProcessCallback cb1, xGoalProcessCallback cb2, |
| 665 | xGoalProcessCallback cb3, xGoalProcessCallback cb4, |
no test coverage detected