mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-26 22:54:39 +00:00
Fix possible null pointer dereference.
This commit is contained in:
parent
b8825c2039
commit
52b067fd4f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user