From a999c794f783048ef47ffc6410e480d9a6eb47ca Mon Sep 17 00:00:00 2001 From: Alexander 'z33ky' Hirsch <1zeeky@gmail.com> Date: Thu, 5 Sep 2024 23:44:50 +0200 Subject: [PATCH] Fix minor case of const-correctness --- sp/src/game/server/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/server/sound.cpp b/sp/src/game/server/sound.cpp index cb7df905d8..167644ab0a 100644 --- a/sp/src/game/server/sound.cpp +++ b/sp/src/game/server/sound.cpp @@ -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 ) {