summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp4
-rw-r--r--src/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 78cc7552..adad9e0f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -752,9 +752,9 @@ void do_parse() {
break;
// Level up
case 0x019b:
- if(RFIFOL(2)==player_node->id) {
+ if (RFIFOL(2) == player_node->id) {
#ifndef WIN32
- SOUND_SID sound_id = sound.loadItem("./data/sound/wavs/level.wav");
+ SOUND_SID sound_id = sound.loadItem("./data/sound/wavs/level.ogg");
sound.startItem(sound_id, 64);
sound.clearCache();
#endif /* not WIN32 */
diff --git a/src/main.cpp b/src/main.cpp
index eb36e171..3dc7862c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -319,7 +319,7 @@ int main() {
sound.setVolume(64);
/* left here to serve as an example ;)
- SOUND_SID id = sound.loadItem("./data/sound/wavs/level.wav");
+ SOUND_SID id = sound.loadItem("./data/sound/wavs/level.ogg");
sound.startItem(id, 70);*/
} catch (const char *err) {
ok("Sound Engine", err);