A '&' before an array variable is at best ignored, at worst it could do weird stuff.

This commit is contained in:
Marcus Sundberg 2000-01-24 00:09:59 +00:00
parent eae2220a78
commit 79a286c45b
2 changed files with 2 additions and 2 deletions

View file

@ -557,7 +557,7 @@ void S_StopAllSounds(qboolean clear)
if (channels[i].sfx)
channels[i].sfx = NULL;
Q_memset(&channels, 0, MAX_CHANNELS * sizeof(channel_t));
Q_memset(channels, 0, MAX_CHANNELS * sizeof(channel_t));
if (clear)
S_ClearBuffer ();

View file

@ -52,7 +52,7 @@ void SV_SetMaster_f (void)
char data[2];
int i;
memset (&master_adr, 0, sizeof(master_adr));
memset (master_adr, 0, sizeof(master_adr));
for (i=1 ; i<Cmd_Argc() ; i++)
{