mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-22 00:41:00 +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)
|
||||
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 ();
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue