Skip to content

Commit a999c79

Browse files
committed
Fix minor case of const-correctness
1 parent df6adcc commit a999c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp/src/game/server/sound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ void CAmbientGeneric::SendSound( SoundFlags_t flags)
938938
{
939939
#ifdef MAPBASE
940940
int iFlags = flags != SND_STOP ? ((int)flags | m_iSoundFlags) : flags;
941-
char *szSoundFile = (char *)STRING( m_iszSound );
941+
const char *szSoundFile = STRING( m_iszSound );
942942
CBaseEntity* pSoundSource = m_hSoundSource;
943943
if ( pSoundSource )
944944
{

0 commit comments

Comments
 (0)