aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/toon/toon.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index dd078615cb..7489f5c5d9 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -1227,7 +1227,9 @@ void ToonEngine::clickEvent() {
if (_currentHotspotItem == -4) {
if (_gameState->_mouseState >= 0) {
if (leftButton)
- handleInventoryOnInventory(0, _gameState->_mouseState);
+ if (!handleInventoryOnInventory(0, _gameState->_mouseState)) {
+ playSoundWrong();
+ }
return;
}
}
@@ -1323,6 +1325,9 @@ void ToonEngine::clickEvent() {
case 11:
sayLines(3, argument);
break;
+ default:
+ playSoundWrong();
+ return;
}
if (result == 3) {