diff options
author | Sven Hesse | 2007-04-17 09:40:10 +0000 |
---|---|---|
committer | Sven Hesse | 2007-04-17 09:40:10 +0000 |
commit | 7d7cee6649a3e69a1e27347bb55568416c9f479e (patch) | |
tree | 2f0c5fdf425a0542887e660416f82be4da47e371 /engines/gob/game.cpp | |
parent | 245d8fa63df246ba40bd690a70253ee06f65f195 (diff) | |
download | scummvm-rg350-7d7cee6649a3e69a1e27347bb55568416c9f479e.tar.gz scummvm-rg350-7d7cee6649a3e69a1e27347bb55568416c9f479e.tar.bz2 scummvm-rg350-7d7cee6649a3e69a1e27347bb55568416c9f479e.zip |
Fix scroll handler
svn-id: r26541
Diffstat (limited to 'engines/gob/game.cpp')
-rw-r--r-- | engines/gob/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp index b22721a024..515d99c66a 100644 --- a/engines/gob/game.cpp +++ b/engines/gob/game.cpp @@ -78,6 +78,7 @@ Game::Game(GobEngine *vm) : _vm(vm) { _forceHandleMouse = 0; _menuLevel = 0; _noScroll = true; + _scrollHandleMouse = false; _tempStr[0] = 0; _curImaFile[0] = 0; @@ -290,7 +291,7 @@ void Game::freeSoundSlot(int16 slot) { } void Game::evaluateScroll(int16 x, int16 y) { - if ((_handleMouse == 0) || (_menuLevel > 0)) + if (!_scrollHandleMouse || (_menuLevel > 0)) return; if (_noScroll || (_vm->_global->_videoMode != 0x14)) |