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/listitem.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/ui/listitem.cc') diff --git a/src/ui/listitem.cc b/src/ui/listitem.cc index 8702757..8f445f1 100644 --- a/src/ui/listitem.cc +++ b/src/ui/listitem.cc @@ -53,14 +53,15 @@ void ListItem::draw() void ListItem::on_mouseover(const math::Vector2f &cursor) { - if (enabled()) - audio::play("ui/select"); + if (enabled()) { + //audio::play("ui/select"); + } } bool ListItem::on_keypress(const int key, const unsigned int modifier) { if (key == 512 + SDL_BUTTON_LEFT) { - audio::play("ui/button"); + //audio::play("ui/button"); emit(EventListItemClicked); -- cgit v1.2.3