aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
authorSylvain Dupont2010-10-16 15:55:11 +0000
committerSylvain Dupont2010-10-16 15:55:11 +0000
commitde1b17fb99a8351244721f6c595a2ed539f6afc2 (patch)
treec95ec1ad3c0139366a4ee1f259bf64537684d52f /engines/toon
parent291f39044f0b6745f44b3a4fc2ce9cfcf76145e5 (diff)
downloadscummvm-rg350-de1b17fb99a8351244721f6c595a2ed539f6afc2.tar.gz
scummvm-rg350-de1b17fb99a8351244721f6c595a2ed539f6afc2.tar.bz2
scummvm-rg350-de1b17fb99a8351244721f6c595a2ed539f6afc2.zip
TOON: Fix inventory autoclose when the click is too long
svn-id: r53542
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/toon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 401b447dae..993bae9c05 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -2394,7 +2394,7 @@ int32 ToonEngine::showInventory() {
_gameState->_inInventory = true;
_gameState->_currentScrollValue = 0;
- int32 oldMouseButton = 0;
+ int32 oldMouseButton = 0x3;
int32 justPressedButton = 0;
_firstFrame = true;