summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-04-22 13:22:03 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-04-22 13:22:03 +0000
commit87a4e3eea7865c37d3a73c60015988673b6178b5 (patch)
treef7ee55c34c8525d7b390bcb16e01e7aeb4e32f4c /src/game.cpp
parent6f3dc33ada334a5edb1ebe651ebf9ccf960cc394 (diff)
downloadmana-87a4e3eea7865c37d3a73c60015988673b6178b5.tar.gz
mana-87a4e3eea7865c37d3a73c60015988673b6178b5.tar.bz2
mana-87a4e3eea7865c37d3a73c60015988673b6178b5.tar.xz
mana-87a4e3eea7865c37d3a73c60015988673b6178b5.zip
And the right sound of course...
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 089c846c..534ac35e 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -531,8 +531,11 @@ void do_input()
player_node->y,
player_node->direction);
player_node->walk_time = tick_time;
-
- sound.playSfx("sfx/fist-swish.ogg");
+
+ if (player_node->weapon == 2)
+ sound.playSfx("sfx/bow_shoot_1.ogg");
+ else
+ sound.playSfx("sfx/fist-swish.ogg");
}
}