aboutsummaryrefslogtreecommitdiff
path: root/engines/access/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/room.cpp')
-rw-r--r--engines/access/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp
index 6f449268c6..371b714467 100644
--- a/engines/access/room.cpp
+++ b/engines/access/room.cpp
@@ -296,7 +296,7 @@ void Room::buildScreen() {
int cnt = _vWindowWidth + 1;
int offset = 0;
- for (int idx = 0; idx < cnt, offset += TILE_WIDTH; ++idx) {
+ for (int idx = 0; idx < cnt; offset += TILE_WIDTH, ++idx) {
buildColumn(_vm->_screen->_scrollCol, offset);
++_vm->_screen->_scrollCol;
}