diff options
author | Kirben | 2014-03-04 17:04:03 +1100 |
---|---|---|
committer | Kirben | 2014-03-04 17:04:03 +1100 |
commit | 7cc8d4184a11410ba8f3f96fa51462eb4119df36 (patch) | |
tree | de39d3cb2fc63a6b182f16744887d8f8a91f2b94 /engines | |
parent | f07603a57b5dcdaf98b8e53f9641950da332064e (diff) | |
download | scummvm-rg350-7cc8d4184a11410ba8f3f96fa51462eb4119df36.tar.gz scummvm-rg350-7cc8d4184a11410ba8f3f96fa51462eb4119df36.tar.bz2 scummvm-rg350-7cc8d4184a11410ba8f3f96fa51462eb4119df36.zip |
AGOS: Disable mouse scroll in Puzzle Pack games.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp index 0e4f4b5d25..c4d4c7a43d 100644 --- a/engines/agos/input.cpp +++ b/engines/agos/input.cpp @@ -418,7 +418,7 @@ void AGOSEngine::hitarea_stuff_helper_2() { #ifdef ENABLE_AGOS2 void AGOSEngine_Feeble::handleMouseWheelUp() { - if (!(getBitFlag(99))) + if (getGameType() == GType_PP || !(getBitFlag(99))) return; if (_mouse.x >= 128 && _mouse.x <= 515 && _mouse.y >= 102 && _mouse.y <= 206) { @@ -433,7 +433,7 @@ void AGOSEngine_Feeble::handleMouseWheelUp() { } void AGOSEngine_Feeble::handleMouseWheelDown() { - if (!(getBitFlag(99))) + if (getGameType() == GType_PP || !(getBitFlag(99))) return; if (_mouse.x >= 128 && _mouse.x <= 515 && _mouse.y >= 102 && _mouse.y <= 206) { |