aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/input.cpp2
-rw-r--r--engines/hdb/window.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp
index 505948c057..99506a5de9 100644
--- a/engines/hdb/input.cpp
+++ b/engines/hdb/input.cpp
@@ -178,6 +178,8 @@ void Input::setButtons(uint16 b) {
lastWeaponSelected = t;
g_hdb->_sound->playSound(SND_MENU_ACCEPT);
return;
+ default:
+ break;
}
g_hdb->_sound->playSound(SND_CELLHOLDER_USE_REJECT);
return;
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp
index f0aefdbb0c..58211d6c3f 100644
--- a/engines/hdb/window.cpp
+++ b/engines/hdb/window.cpp
@@ -1311,6 +1311,8 @@ bool Window::checkInvClose(int x, int y) {
lastWeaponSelected = t;
g_hdb->_sound->playSound(SND_MENU_ACCEPT);
return true;
+ default:
+ break;
}
g_hdb->_sound->playSound(SND_CELLHOLDER_USE_REJECT);
}