From 8c6ba3b18654264189d992bd09fbab0664b74fc3 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sat, 16 Apr 2005 15:54:58 +0000 Subject: - Cleaning Dev-Cpp project file - Updating ChangeLog - Adding level up sound --- src/game.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 1aa0f9bc..d71f80b6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1112,11 +1112,9 @@ void do_parse() { break; // Level up case 0x019b: + logger.log("Level up"); if (RFIFOL(2) == player_node->id) { - //SOUND_SID sound_id = sound.loadItem( - // "data/sfx/level.ogg"); - //sound.startItem(sound_id, 64); - //sound.clearCache(); + sound.playSfx("sfx/levelup.ogg"); } break; // Emotion -- cgit v1.2.3-70-g09d2