summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 3399d04..b3bc82e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -19,11 +19,15 @@ int main(int argc, char **argv)
char *snd_x = strchr(snd_path, 'x');
for (int i = 0; i < 3; i++) {
*snd_x = '0' + i;
- if (LZR_SoundLoad(snd_path, 1.0f) < 0) {
+ if (LZR_SoundLoad(snd_path, (i == 1) ? 0.8f : 1.0f) < 0) {
LZR_Quit();
return 1;
}
}
+ if (LZR_SoundLoad("res/suk.wav", 0.5f) < 0) {
+ LZR_Quit();
+ return 1;
+ }
Cursor cursor;
Table table;
Menu menu;