| 297 | } |
| 298 | |
| 299 | void NPCHazard::HurtThePlayer() |
| 300 | { |
| 301 | if (this->npc_owner == NULL) |
| 302 | { |
| 303 | zEntPlayer_Damage(NULL, 1); |
| 304 | } |
| 305 | else if (zEntPlayer_DamageNPCKnockBack((xBase*)this->npc_owner, 1, &this->pos_hazard)) |
| 306 | { |
| 307 | this->npc_owner->Vibrate(NPC_VIBE_NORM, _1041_Hazard); |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | void NPCHazard::TypData_RotMatSet(xMat3x3* mat) |
| 312 | { |
nothing calls this directly
no test coverage detected