| 4420 | } |
| 4421 | |
| 4422 | static void zEntPlayerCheckHelmetPop() |
| 4423 | { |
| 4424 | xVec3 vec; |
| 4425 | xModelInstance* model = globals.player.sb_models[7]; |
| 4426 | if ((globals.player.IsBubbleBashing == 0) || (globals.player.sb_models[7]->Flags & 1)) |
| 4427 | { |
| 4428 | return; |
| 4429 | } |
| 4430 | xMat4x3Mul((xMat4x3*)globals.player.sb_models[7]->Mat, |
| 4431 | (xMat4x3*)(&globals.player.ent.model->Mat[5]), |
| 4432 | (xMat4x3*)(globals.player.ent.model)->Mat); |
| 4433 | xVec3Copy(&vec, (xVec3*)&model->Mat->pos); |
| 4434 | vec.y += 0.35f; |
| 4435 | zFX_SpawnBubbleHit(&vec, 0x32); |
| 4436 | globals.player.IsBubbleBashing = 0; |
| 4437 | } |
| 4438 | |
| 4439 | static void zEntPlayerCheckShoePop() |
| 4440 | { |
nothing calls this directly
no test coverage detected