From f5d635b67bb00ba6ba90b0f026bee9630e7fd043 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 5 Dec 2024 12:41:43 +0300 Subject: [PATCH] engine: client: allow VOX words use other formats than WAV --- engine/client/s_vox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/s_vox.c b/engine/client/s_vox.c index 6f804604b..588060162 100644 --- a/engine/client/s_vox.c +++ b/engine/client/s_vox.c @@ -499,7 +499,7 @@ void VOX_LoadSound( channel_t *ch, const char *pszin ) if( !VOX_ParseWordParams( rgpparseword[i], &ch->words[j], i == 0 )) continue; - if( Q_snprintf( pathbuffer, sizeof( pathbuffer ), "%s%s.wav", szpath, rgpparseword[i] ) < 0 ) + if( Q_snprintf( pathbuffer, sizeof( pathbuffer ), "%s%s", szpath, rgpparseword[i] ) < 0 ) { Con_Printf( S_ERROR "%s: path to word in sentence %s is too long\n", __func__, pszin ); return;