Fix minor case of const-correctness

This commit is contained in:
Alexander 'z33ky' Hirsch 2024-09-05 23:44:50 +02:00
parent df6adcc5e9
commit a999c794f7

View File

@ -938,7 +938,7 @@ void CAmbientGeneric::SendSound( SoundFlags_t flags)
{
#ifdef MAPBASE
int iFlags = flags != SND_STOP ? ((int)flags | m_iSoundFlags) : flags;
char *szSoundFile = (char *)STRING( m_iszSound );
const char *szSoundFile = STRING( m_iszSound );
CBaseEntity* pSoundSource = m_hSoundSource;
if ( pSoundSource )
{