Skip to content

Commit

Permalink
HOPKINS: (on behalf of fuzzie) Fix regression introduced in 66cc7d0
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Jan 10, 2013
1 parent 2710878 commit de93e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/hopkins/lines.cpp
Expand Up @@ -428,9 +428,9 @@ void LinesManager::initRoute() {
++lineIdx;
}

_vm->_objectsManager._lastLine = lineIdx + 1;
_vm->_objectsManager._lastLine = lineIdx;
for (int idx = 1; idx < 400; idx++) {
if ((Ligne[idx]._lineDataEndIdx < _vm->_globals._maxLineLength) && (idx != _vm->_objectsManager._lastLine)) {
if ((Ligne[idx]._lineDataEndIdx < _vm->_globals._maxLineLength) && (idx != _vm->_objectsManager._lastLine + 1)) {
Ligne[idx].field6 = Ligne[idx - 1].field6;
Ligne[idx].field8 = Ligne[idx - 1].field8;
}
Expand Down

0 comments on commit de93e44

Please sign in to comment.