mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-15 01:02:09 +00:00
Initialize sounds[] to avoid garbage branch conditions down below
This commit is contained in:
parent
6befae2ffd
commit
42da811355
1 changed files with 1 additions and 0 deletions
|
@ -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++ )
|
||||
|
|
Loading…
Reference in a new issue