Skip to content

Commit

Permalink
Disable mp3 looping.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Aug 13, 2024
1 parent f9a7dde commit f543f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cl_dll/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f543f1c

Please sign in to comment.