aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/interface.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 96740930cc..307ab8ad04 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1931,11 +1931,14 @@ void Interface::handleMainUpdate(const Point& mousePoint) {
//inventory stuff
void Interface::inventoryChangePos(int chg) {
- if ((chg < 0 && _inventoryStart + chg >= 0) ||
- (chg > 0 && _inventoryStart < _inventoryEnd)) {
- _inventoryStart += chg;
- draw();
+ // Arrows will scroll the inventory up or down up to 4 items
+ for (int i = 1; i <= 4; i++) {
+ if ((chg < 0 && _inventoryStart + chg >= 0) ||
+ (chg > 0 && _inventoryStart < _inventoryEnd)) {
+ _inventoryStart += chg;
}
+ }
+ draw();
}
void Interface::inventorySetPos(int key) {