[Scummvm-cvs-logs] scummvm master -> 32fdb194c79bba819141161e6b64d27de7051ed1
Kirben
kirben at optusnet.com.au
Tue Mar 4 07:10:43 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
32fdb194c7 AGOS: Fix scroll wheel glitch in The Feeble Files.
Commit: 32fdb194c79bba819141161e6b64d27de7051ed1
https://github.com/scummvm/scummvm/commit/32fdb194c79bba819141161e6b64d27de7051ed1
Author: Kirben (kirben at optusnet.com.au)
Date: 2014-03-03T22:10:11-08:00
Commit Message:
AGOS: Fix scroll wheel glitch in The Feeble Files.
Changed paths:
engines/agos/input.cpp
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp
index c4d4c7a..3577932 100644
--- a/engines/agos/input.cpp
+++ b/engines/agos/input.cpp
@@ -426,7 +426,7 @@ void AGOSEngine_Feeble::handleMouseWheelUp() {
} else if (_mouse.x >= 172 && _mouse.x <= 469 && _mouse.y >= 287 && _mouse.y <= 382) {
HitArea *ha = findBox(0x7FFB);
if (ha != NULL && (ha->flags & kBFBoxInUse)) {
- if (!isSpriteLoaded(21, 9))
+ if (!isSpriteLoaded(21, 9) && !isSpriteLoaded(23, 9))
inventoryUp(ha->window);
}
}
@@ -441,7 +441,7 @@ void AGOSEngine_Feeble::handleMouseWheelDown() {
} else if (_mouse.x >= 172 && _mouse.x <= 469 && _mouse.y >= 287 && _mouse.y <= 382) {
HitArea *ha = findBox(0x7FFC);
if (ha != NULL && (ha->flags & kBFBoxInUse)) {
- if (!isSpriteLoaded(23, 9))
+ if (!isSpriteLoaded(21, 9) && !isSpriteLoaded(23, 9))
inventoryDown(ha->window);
}
}
More information about the Scummvm-git-logs
mailing list