diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |