summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-04-16 15:54:58 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-04-16 15:54:58 +0000
commit8c6ba3b18654264189d992bd09fbab0664b74fc3 (patch)
tree6eff1f040cd6d33da689b34d58dcfa17ba482e28 /src/game.cpp
parentf34960bc4a774764062a7bff70596779006c9413 (diff)
downloadmana-8c6ba3b18654264189d992bd09fbab0664b74fc3.tar.gz
mana-8c6ba3b18654264189d992bd09fbab0664b74fc3.tar.bz2
mana-8c6ba3b18654264189d992bd09fbab0664b74fc3.tar.xz
mana-8c6ba3b18654264189d992bd09fbab0664b74fc3.zip
- Cleaning Dev-Cpp project file
- Updating ChangeLog - Adding level up sound
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 2 insertions, 4 deletions
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