From f543f1c6b3edd18d737fa7ff92619f5817f4178b Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:10:54 +0500 Subject: [PATCH] Disable mp3 looping. --- cl_dll/hud.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_dll/hud.cpp b/cl_dll/hud.cpp index 3ad86a87bd..31eb421982 100644 --- a/cl_dll/hud.cpp +++ b/cl_dll/hud.cpp @@ -149,11 +149,11 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) if( !IsXashFWGS( )) { - sprintf( cmd, "mp3 loop %s\n", pszSound ); + sprintf( cmd, "mp3 play %s\n", pszSound ); gEngfuncs.pfnClientCmd( cmd ); } else - gEngfuncs.pfnPrimeMusicStream( pszSound, 1 ); + gEngfuncs.pfnPrimeMusicStream( pszSound, 0 ); return 1; }