Browse Source

engine: sound: allow mouth move for CHAN_STREAM

pull/2/head
Alibek Omarov 2 years ago
parent
commit
279e391949
  1. 2
      engine/client/s_mix.c

2
engine/client/s_mix.c

@ -621,7 +621,7 @@ void MIX_MixChannelsToPaintbuffer( int endtime, int rate, int outputRate )
ch->pitch *= ( sys_timescale.value + 1 ) / 2; ch->pitch *= ( sys_timescale.value + 1 ) / 2;
if( CL_GetEntityByIndex( ch->entnum ) && ( ch->entchannel == CHAN_VOICE )) if( CL_GetEntityByIndex( ch->entnum ) && ( ch->entchannel == CHAN_VOICE || ch->entchannel == CHAN_STREAM ))
{ {
if( pSource->width == 1 ) if( pSource->width == 1 )
SND_MoveMouth8( ch, pSource, sampleCount ); SND_MoveMouth8( ch, pSource, sampleCount );

Loading…
Cancel
Save