From e833ae66e2a90e539ad004983acbdae2e4ee94f3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 10 Aug 2014 19:19:32 -0400 Subject: ACCESS: Fix loop in buildScreen --- engines/access/room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/access/room.cpp') 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; } -- cgit v1.2.3