mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-23 17:50:46 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(&sounds, 0, sizeof(int) * MAX_EDICTS);
|
||||||
S_BuildSoundList( sounds );
|
S_BuildSoundList( sounds );
|
||||||
|
|
||||||
for ( i = 0; i < cl.frame.num_entities; i++ )
|
for ( i = 0; i < cl.frame.num_entities; i++ )
|
||||||
|
|
Loading…
Reference in a new issue