| 4524 | } |
| 4525 | |
| 4526 | void zEntPlayer_DamageKnockIntoAir(F32 height) |
| 4527 | { |
| 4528 | zJumpParam jump; |
| 4529 | jump.PeakHeight = height; |
| 4530 | jump.TimeHold = 0.0f; |
| 4531 | jump.TimeGravChange = 0.3f; |
| 4532 | CalcJumpImpulse(&jump, NULL); |
| 4533 | zEntPlayerJumpStart(&globals.player.ent, &jump); |
| 4534 | zEntPlayerJumpAddDriver(&globals.player.ent); |
| 4535 | globals.player.KnockIntoAirTimer = 0.75f; |
| 4536 | globals.player.Jump_CanDouble = 1; |
| 4537 | globals.player.Jump_CanFloat = 1; |
| 4538 | } |
| 4539 | |
| 4540 | S32 zEntPlayer_Damage(xBase* src, U32 damage) |
| 4541 | { |
nothing calls this directly
no test coverage detected