aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/access/player.cpp2
-rw-r--r--engines/access/room.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/access/player.cpp b/engines/access/player.cpp
index 7df277c3a0..336be0d462 100644
--- a/engines/access/player.cpp
+++ b/engines/access/player.cpp
@@ -819,7 +819,7 @@ bool Player::scrollRight() {
_vm->_buffer1.moveBufferRight();
_vm->_room->buildColumn(_vm->_screen->_scrollCol, 0);
- } while (!_vm->shouldQuit() && (_vm->_screen->_scrollX >= 0));
+ } while (!_vm->shouldQuit() && (_vm->_screen->_scrollX < 0));
return false;
}
diff --git a/engines/access/room.cpp b/engines/access/room.cpp
index b00b1cf83b..29d9eef624 100644
--- a/engines/access/room.cpp
+++ b/engines/access/room.cpp
@@ -468,8 +468,6 @@ void Room::executeCommand(int commandId) {
if (_vm->_inventory->newDisplayInv() == 2) {
commandOff();
return;
- } else {
- // TODO: al = _useItem?
}
break;
case 5: