| 857 | } |
| 858 | |
| 859 | void NPCHazard::Upd_TTStink(F32 dt) |
| 860 | { |
| 861 | HAZBall* ball = &this->custdata.ball; |
| 862 | ball->rad_cur = LERP(1.0f - this->pam_interp, ball->rad_min, ball->rad_max); |
| 863 | |
| 864 | if (this->flg_hazard & 0x2000 && !(globals.player.DamageTimer > 0.0f)) |
| 865 | { |
| 866 | if (ColPlyrSphere(ball->rad_cur)) |
| 867 | { |
| 868 | HurtThePlayer(); |
| 869 | g_data_hazshrap[2]->initCB(g_data_hazshrap[2], globals.player.ent.model, NULL, NULL); |
| 870 | } |
| 871 | } |
| 872 | |
| 873 | TarTarLinger(); |
| 874 | } |
| 875 | |
| 876 | void NPCHazard::TarTarFalumpf() |
| 877 | { |
nothing calls this directly
no test coverage detected