| 4406 | } |
| 4407 | |
| 4408 | void zEntPlayerEmitSlideBubbles() |
| 4409 | { |
| 4410 | xModelInstance* model = globals.player.ent.model; |
| 4411 | U8 rand; |
| 4412 | xVec3 vec; |
| 4413 | |
| 4414 | if ((model->Flags & 1) && (rand = xrand(), rand < 0x80)) |
| 4415 | { |
| 4416 | xVec3Copy(&vec, (xVec3*)&model->Mat->pos); |
| 4417 | vec.y -= 0.5f; |
| 4418 | zFX_SpawnBubbleTrail(&vec, 1); |
| 4419 | } |
| 4420 | } |
| 4421 | |
| 4422 | static void zEntPlayerCheckHelmetPop() |
| 4423 | { |
nothing calls this directly
no test coverage detected