diff options
author | Paul Gilbert | 2014-08-10 19:19:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-10 19:19:32 -0400 |
commit | e833ae66e2a90e539ad004983acbdae2e4ee94f3 (patch) | |
tree | c62cb0609e714c60d534282ba6630a8cb8d61e81 /engines/access/room.cpp | |
parent | 6f2bc7fc1f5426a01d196e5a61faafbb7b40ad13 (diff) | |
download | scummvm-rg350-e833ae66e2a90e539ad004983acbdae2e4ee94f3.tar.gz scummvm-rg350-e833ae66e2a90e539ad004983acbdae2e4ee94f3.tar.bz2 scummvm-rg350-e833ae66e2a90e539ad004983acbdae2e4ee94f3.zip |
ACCESS: Fix loop in buildScreen
Diffstat (limited to 'engines/access/room.cpp')
-rw-r--r-- | engines/access/room.cpp | 2 |
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; } |