diff options
author | Travis Howell | 2004-09-17 02:59:38 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-17 02:59:38 +0000 |
commit | 3f7ecb9db2031012f61832da58b937b5919e5f1c (patch) | |
tree | 6386770f8bb690da7b13271a9c826ec0e49d599f /scumm/scumm.cpp | |
parent | 2ac60430fcea9c751552ae6e7d09076d2233c8b2 (diff) | |
download | scummvm-rg350-3f7ecb9db2031012f61832da58b937b5919e5f1c.tar.gz scummvm-rg350-3f7ecb9db2031012f61832da58b937b5919e5f1c.tar.bz2 scummvm-rg350-3f7ecb9db2031012f61832da58b937b5919e5f1c.zip |
Correct mouse vars, should be mouse hold in scumm6/HE.
baloon works now.
svn-id: r15143
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r-- | scumm/scumm.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 06525cc6cc..f90a9b2442 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2118,13 +2118,13 @@ void ScummEngine::processKbd(bool smushMode) { VAR(VAR_RIGHTBTN_HOLD) = 1; VAR(VAR_MOUSE_HOLD) += 2; } - } else if (_version >= 6 && !(_features & GF_HUMONGOUS)) { - VAR(VAR_LEFTBTN_DOWN) = (_leftBtnPressed & msClicked) != 0; - VAR(VAR_RIGHTBTN_DOWN) = (_rightBtnPressed & msClicked) != 0; + } else if (_version >= 6) { + VAR(VAR_LEFTBTN_HOLD) = (_leftBtnPressed & msDown) != 0; + VAR(VAR_RIGHTBTN_HOLD) = (_rightBtnPressed & msDown) != 0; if (_version == 7) { - VAR(VAR_LEFTBTN_HOLD) = (_leftBtnPressed & msDown) != 0; - VAR(VAR_RIGHTBTN_HOLD) = (_rightBtnPressed & msDown) != 0; + VAR(VAR_LEFTBTN_DOWN) = (_leftBtnPressed & msClicked) != 0; + VAR(VAR_RIGHTBTN_DOWN) = (_rightBtnPressed & msClicked) != 0; } } |