From 279e3919490787eeb493653ca7cd8a3810a2b5de Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 27 Jan 2023 06:19:17 +0300 Subject: [PATCH] engine: sound: allow mouth move for CHAN_STREAM --- engine/client/s_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/s_mix.c b/engine/client/s_mix.c index 8d5e0ba7..f58b5063 100644 --- a/engine/client/s_mix.c +++ b/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; - 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 ) SND_MoveMouth8( ch, pSource, sampleCount );