Fix possible null pointer dereference.

This commit is contained in:
Andrey Akhmichin 2019-11-16 14:29:09 +05:00
parent b8825c2039
commit 52b067fd4f
1 changed files with 1 additions and 1 deletions

View File

@ -1762,7 +1762,7 @@ void CSpeaker::Precache( void )
}
void CSpeaker::SpeakerThink( void )
{
const char* szSoundFile = NULL;
const char* szSoundFile = "";
float flvolume = pev->health * 0.1f;
float flattenuation = 0.3f;
int flags = 0;