| 944 | } |
| 945 | |
| 946 | void zNPCGoalAlertFodBomb::Detonate() |
| 947 | { |
| 948 | zNPCFodBomb* npc = *(zNPCFodBomb**)(&psyche->clt_owner); |
| 949 | npc->SndPlayRandom(NPC_STYP_ATTACK); |
| 950 | NPCHazard* haz = HAZ_Acquire(); |
| 951 | if (haz != NULL) |
| 952 | { |
| 953 | haz->ConfigHelper(NPC_HAZ_FODBOMB); |
| 954 | haz->SetNPCOwner(npc); |
| 955 | xVec3* center = xEntGetCenter(npc); |
| 956 | haz->Start(center, -1.0f); |
| 957 | } |
| 958 | } |
| 959 | |
| 960 | // TODO: Cleanup local vars |
| 961 | void zNPCGoalAlertFodBomb::SonarHoming(F32 dt) |
nothing calls this directly
no test coverage detected