mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 07:17:57 +03:00
Fix minor case of const-correctness
This commit is contained in:
parent
df6adcc5e9
commit
a999c794f7
@ -938,7 +938,7 @@ void CAmbientGeneric::SendSound( SoundFlags_t flags)
|
|||||||
{
|
{
|
||||||
#ifdef MAPBASE
|
#ifdef MAPBASE
|
||||||
int iFlags = flags != SND_STOP ? ((int)flags | m_iSoundFlags) : flags;
|
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;
|
CBaseEntity* pSoundSource = m_hSoundSource;
|
||||||
if ( pSoundSource )
|
if ( pSoundSource )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user