projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20001104-1-src
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 4d3a034ddb626e79c8528a4c4d435abcfd985856..941881f3218f6126181cfad12fc76d15217e020a 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-193,7
+193,7
@@
void InitSound()
return;
}
- if ((sound_device =
open(sound_device_name,O_WRONLY))<
0)
+ if ((sound_device =
OpenAudio(sound_device_name)) <
0)
{
Error(ERR_WARN, "cannot open sound device - no sounds");
sound_status = SOUND_OFF;