diff options
author | Stijn Buys <ingar@osirion.org> | 2011-02-10 18:20:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-02-10 18:20:46 +0000 |
commit | a012d56b0f230114de0e9b10e15023faa3c8a44c (patch) | |
tree | 95b78f86a0f78f34ab47d442ac9a6617c3ec528c /src/client/playerview.cc | |
parent | 9ff5cf6184b9c5183c1f55cfa6c0d08586eb02c9 (diff) |
Sanitized ui sounds, removed button hover sound.
Diffstat (limited to 'src/client/playerview.cc')
-rw-r--r-- | src/client/playerview.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/playerview.cc b/src/client/playerview.cc index e942924..d5026ef 100644 --- a/src/client/playerview.cc +++ b/src/client/playerview.cc @@ -9,7 +9,6 @@ #include "core/info.h" #include "core/application.h" -#include "audio/audio.h" #include "ui/ui.h" #include "client/targeticonbutton.h" #include "client/playerview.h" @@ -102,7 +101,6 @@ void PlayerView::toggle_map() } map()->toggle(); - audio::play("ui/menu"); /* if (map()->visible() && chat()->visible() && chat()->small_view()) { chat()->raise(); @@ -136,7 +134,6 @@ void PlayerView::toggle_inventory() } inventory()->toggle(); - audio::play("ui/menu"); /* if (inventory()->visible() && chat()->visible() && chat()->small_view()) { chat()->raise(); @@ -173,7 +170,6 @@ void PlayerView::toggle_chat() chat()->set_small_view(false); chat()->toggle(); - audio::play("ui/menu"); } void PlayerView::toggle_chatbar() @@ -348,7 +344,6 @@ void PlayerView::draw() show_menu("main"); map()->hide(); chat()->hide(); - audio::play("ui/menu"); // hide other windows view_chat->hide(); @@ -360,7 +355,6 @@ void PlayerView::draw() // show the menu if there's no other window open view_entitymenu->show(); - audio::play("ui/menu"); } view_notify->set_size(width() - smallmargin * 3.0f - ui::UI::elementsize.width() * 1.5f, height() - smallmargin * 4.0f); |