Skip to content

Commit

Permalink
Fix possible null pointer dereference.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Nov 16, 2019
1 parent b8825c2 commit 52b067f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52b067f

Please sign in to comment.