mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-06-04 03:01:16 +00:00
A '&' before an array variable is at best ignored, at worst it could do weird stuff.
This commit is contained in:
parent
eae2220a78
commit
79a286c45b
2 changed files with 2 additions and 2 deletions
|
@ -557,7 +557,7 @@ void S_StopAllSounds(qboolean clear)
|
||||||
if (channels[i].sfx)
|
if (channels[i].sfx)
|
||||||
channels[i].sfx = NULL;
|
channels[i].sfx = NULL;
|
||||||
|
|
||||||
Q_memset(&channels, 0, MAX_CHANNELS * sizeof(channel_t));
|
Q_memset(channels, 0, MAX_CHANNELS * sizeof(channel_t));
|
||||||
|
|
||||||
if (clear)
|
if (clear)
|
||||||
S_ClearBuffer ();
|
S_ClearBuffer ();
|
||||||
|
|
|
@ -52,7 +52,7 @@ void SV_SetMaster_f (void)
|
||||||
char data[2];
|
char data[2];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
memset (&master_adr, 0, sizeof(master_adr));
|
memset (master_adr, 0, sizeof(master_adr));
|
||||||
|
|
||||||
for (i=1 ; i<Cmd_Argc() ; i++)
|
for (i=1 ; i<Cmd_Argc() ; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue