Skip to content

Commit

Permalink
HOPKINS: Fix regression introduced in 5678fbd: Glitch while speaking.…
Browse files Browse the repository at this point in the history
… Thanks to eriktorbjorn for noticing and bisecting the problem
  • Loading branch information
Strangerke committed Jan 20, 2013
1 parent 2c69135 commit f9b4fe0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engines/hopkins/objects.cpp
Expand Up @@ -1016,9 +1016,9 @@ void ObjectsManager::displayBobAnim() {
} while (idx != 35);

if (!PERSO_ON && BOBTOUS) {
for (int v26 = 0; v26 != 35; v26++) {
if (_vm->_globals._bob[v26].field0 == 10 && !_vm->_globals._bob[v26]._disabledAnimationFl)
_vm->_globals._bob[v26].field1C = true;
for (int i = 0; i < 35; i++) {
if (_vm->_globals._bob[i].field0 == 10 && !_vm->_globals._bob[i]._disabledAnimationFl)
_vm->_globals._bob[i].field1C = true;
}
}

Expand Down Expand Up @@ -1056,7 +1056,7 @@ void ObjectsManager::displayBobAnim() {
}
}

for (int i = 1; i < 25; i++) {
for (int i = 1; i < 35; i++) {
_vm->_globals._bob[i]._oldY = 0;
if (_vm->_globals._bob[i].field0 == 10 && !_vm->_globals._bob[i]._disabledAnimationFl && _vm->_globals._bob[i].field1C) {
CALCUL_BOB(i);
Expand Down

0 comments on commit f9b4fe0

Please sign in to comment.