From a012d56b0f230114de0e9b10e15023faa3c8a44c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 10 Feb 2011 18:20:46 +0000 Subject: Sanitized ui sounds, removed button hover sound. --- src/ui/button.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/button.cc') diff --git a/src/ui/button.cc b/src/ui/button.cc index 6cbb51e..9e07c09 100644 --- a/src/ui/button.cc +++ b/src/ui/button.cc @@ -88,7 +88,7 @@ bool Button::on_keypress(const int key, const unsigned int modifier) if (button_command.size()) { core::cmd() << button_command << std::endl; } - audio::play("ui/button"); + audio::play("ui/clicked"); emit(EventButtonClicked); } @@ -106,7 +106,7 @@ bool Button::on_keyrelease(const int key, const unsigned int modifier) void Button::on_mouseover(const math::Vector2f &cursor) { if (enabled()) { - audio::play("ui/select"); + //audio::play("ui/select"); } } -- cgit v1.2.3