Skip to content

Commit

Permalink
Fix minor case of const-correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
z33ky committed Sep 5, 2024
1 parent df6adcc commit a999c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sp/src/game/server/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down

0 comments on commit a999c79

Please sign in to comment.