diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-22 13:22:03 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-22 13:22:03 +0000 |
commit | 87a4e3eea7865c37d3a73c60015988673b6178b5 (patch) | |
tree | f7ee55c34c8525d7b390bcb16e01e7aeb4e32f4c /src/game.cpp | |
parent | 6f3dc33ada334a5edb1ebe651ebf9ccf960cc394 (diff) | |
download | Mana-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.cpp | 7 |
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"); } } |