TOON: Fixed bug #3085971 with missing "fail" sound sfx

Bug #3085971: "TOON: Missing sfx for invalid Flux request"

svn-id: r53260
This commit is contained in:
Sylvain Dupont 2010-10-12 22:57:03 +00:00
parent be44216e5c
commit 4c4e821326

View File

@ -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) {