X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsound.c;h=c10575b8660625bd4182b62fccaee55a309c3481;hb=6d06ba238902736bb99714dc8122bb32a286577a;hp=51b62efc7a5572a24176b56f31f2a8d0d1eaadcd;hpb=14f10ebaf067872a8a1412476c8923cb2414aee4;p=rocksndiamonds.git diff --git a/src/libgame/sound.c b/src/libgame/sound.c index 51b62efc..c10575b8 100644 --- a/src/libgame/sound.c +++ b/src/libgame/sound.c @@ -2110,7 +2110,7 @@ void PlaySoundExt(int nr, int volume, int stereo_position, int state) else if (stereo_position > SOUND_MAX_RIGHT) stereo_position = SOUND_MAX_RIGHT; - memset(&snd_ctrl, 0, sizeof(SoundControl)); /* to make valgrind happy */ + clear_mem(&snd_ctrl, sizeof(SoundControl)); /* to make valgrind happy */ snd_ctrl.active = TRUE; snd_ctrl.nr = nr;