| 2856 | } |
| 2857 | |
| 2858 | static void speak_update(F32 dt) |
| 2859 | { |
| 2860 | if (player_talk.anim == -1) |
| 2861 | { |
| 2862 | return; |
| 2863 | } |
| 2864 | |
| 2865 | if (player_talk.time < 0.2f || xSndIsPlaying(player_talk.sndid) != 0) |
| 2866 | { |
| 2867 | player_talk.time += dt; |
| 2868 | float jawval = xJaw_EvalData(player_talk.data, player_talk.time); |
| 2869 | globals.player.ent.model->Anim->Single->BilinearLerp[0] = jawval; |
| 2870 | } |
| 2871 | else |
| 2872 | { |
| 2873 | zEntPlayerSpeakStop(); |
| 2874 | } |
| 2875 | } |
| 2876 | } // namespace |
| 2877 | |
| 2878 | // WIP, not equivalent |
nothing calls this directly
no test coverage detected