projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070425-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
sound.c
diff --git
a/src/libgame/sound.c
b/src/libgame/sound.c
index 51b62efc7a5572a24176b56f31f2a8d0d1eaadcd..c10575b8660625bd4182b62fccaee55a309c3481 100644
(file)
--- 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;
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;
snd_ctrl.active = TRUE;
snd_ctrl.nr = nr;