Initialize sounds[] to avoid garbage branch conditions down below

This commit is contained in:
Yamagi Burmeister 2012-06-02 13:29:08 +02:00
parent 6befae2ffd
commit 42da811355

View file

@ -1014,6 +1014,7 @@ S_AddLoopSounds ( void )
return;
}
memset(&sounds, 0, sizeof(int) * MAX_EDICTS);
S_BuildSoundList( sounds );
for ( i = 0; i < cl.frame.num_entities; i++ )